about summary refs log tree commit diff
path: root/app/views/admin/reports
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-01-20 13:37:31 +0100
committerGitHub <noreply@github.com>2022-01-20 13:37:31 +0100
commit6eea3f8f9c41114002782d7a44993004bdd64832 (patch)
tree61908857e416abfd74e7a5487c583fa1984f8946 /app/views/admin/reports
parent9eb775a9d1fd39bc2d255679bb12b2ff6f98080d (diff)
Add post edited notice in admin and public UIs (#17335)
* Add edited toot flag on public pages

* Add toot edit flag to admin pages
Diffstat (limited to 'app/views/admin/reports')
-rw-r--r--app/views/admin/reports/_status.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/reports/_status.html.haml b/app/views/admin/reports/_status.html.haml
index 924b0e9c2..4e06d4bbf 100644
--- a/app/views/admin/reports/_status.html.haml
+++ b/app/views/admin/reports/_status.html.haml
@@ -27,6 +27,9 @@
         ·
       = link_to ActivityPub::TagManager.instance.url_for(status), class: 'detailed-status__datetime', target: stream_link_target, rel: 'noopener noreferrer' do
         %time.formatted{ datetime: status.created_at.iso8601, title: l(status.created_at) }= l(status.created_at)
+      - if status.edited?
+        ·
+        = t('statuses.edited_at', date: l(status.edited_at))
       - if status.discarded?
         ·
         %span.negative-hint= t('admin.statuses.deleted')