Commit 993a3e81 authored by Takuya Noguchi's avatar Takuya Noguchi

Remove d-md-none/d-sm-none when d-sm-none/d-none exists

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent fc560baf
- reporter = abuse_report.reporter
- user = abuse_report.user
%tr
%th.d-block.d-sm-none.d-md-none
%th.d-block.d-sm-none
%strong= _('User')
%td
- if user
......@@ -11,12 +11,13 @@
- else
= _('(removed)')
%td
%strong.subheading.d-block.d-sm-none.d-md-none
%strong.subheading.d-block.d-sm-none
= _('Reported by %{reporter}') % { reporter: reporter ? link_to(reporter.name, reporter) : _('(removed)') }
.light.small
= time_ago_with_tooltip(abuse_report.created_at)
%td
%strong.subheading.d-block.d-sm-none.d-md-none= _('Message')
%strong.subheading.d-block.d-sm-none
= _('Message')
.message
= markdown_field(abuse_report, :message)
%td
......
......@@ -17,7 +17,7 @@
- if @abuse_reports.present?
.table-holder
%table.table.responsive-table
%thead.d-none.d-sm-none.d-md-table-header-group
%thead.d-none.d-md-table-header-group
%tr
%th User
%th Reported by
......
---
title: Remove d-md-none/d-sm-none when d-sm-none/d-none exists
merge_request: 44845
author: Takuya Noguchi
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment