Fix haml-lint LineLength
cops in app/views/admin (#28680)
This commit is contained in:
parent
7720c684c5
commit
f445d33fd6
37 changed files with 576 additions and 146 deletions
|
@ -22,7 +22,9 @@
|
|||
%time.formatted{ datetime: status.created_at.iso8601, title: l(status.created_at) }= l(status.created_at)
|
||||
- if status.edited?
|
||||
·
|
||||
= link_to t('statuses.edited_at_html', date: content_tag(:time, l(status.edited_at), datetime: status.edited_at.iso8601, title: l(status.edited_at), class: 'formatted')), admin_account_status_path(status.account_id, status), class: 'detailed-status__datetime'
|
||||
= link_to t('statuses.edited_at_html', date: content_tag(:time, l(status.edited_at), datetime: status.edited_at.iso8601, title: l(status.edited_at), class: 'formatted')),
|
||||
admin_account_status_path(status.account_id, status),
|
||||
class: 'detailed-status__datetime'
|
||||
- if status.discarded?
|
||||
·
|
||||
%span.negative-hint= t('admin.statuses.deleted')
|
||||
|
|
|
@ -37,7 +37,9 @@
|
|||
%p
|
||||
= t 'admin.reports.statuses_description_html'
|
||||
—
|
||||
= link_to safe_join([fa_icon('plus'), t('admin.reports.add_to_report')]), admin_account_statuses_path(@report.target_account_id, report_id: @report.id), class: 'table-action-link'
|
||||
= link_to safe_join([fa_icon('plus'), t('admin.reports.add_to_report')]),
|
||||
admin_account_statuses_path(@report.target_account_id, report_id: @report.id),
|
||||
class: 'table-action-link'
|
||||
|
||||
= form_for(@form, url: batch_admin_account_statuses_path(@report.target_account_id, report_id: @report.id)) do |f|
|
||||
.batch-table
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue