~cytrogen/masto-fe

ref: 16681e0f20e1f8584e11439953c8d59b322571f5 masto-fe/app/views/admin/status_edits/_status_edit.html.haml -rw-r--r-- 823 bytes
16681e0f — Claire Add admin notifications for new Mastodon versions (#26582) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.status
  .status__content><
    - if status_edit.spoiler_text.blank?
      = prerender_custom_emojis(status_content_format(status_edit), status_edit.emojis)
    - else
      %details<
        %summary><
          %strong> Content warning: #{prerender_custom_emojis(h(status_edit.spoiler_text), status_edit.emojis)}
        = prerender_custom_emojis(status_content_format(status_edit), status_edit.emojis)

  - unless status_edit.ordered_media_attachments.empty?
    = render partial: 'admin/reports/media_attachments', locals: { status: status_edit }

  .detailed-status__meta
    %time.formatted{ datetime: status_edit.created_at.iso8601, title: l(status_edit.created_at) }= l(status_edit.created_at)

    - if status_edit.sensitive?
      ·
      = fa_icon('eye-slash fw')
      = t('stream_entries.sensitive_content')