diff options
| author | 2025-01-24 15:02:13 +0000 | |
|---|---|---|
| committer | 2025-01-24 16:02:13 +0100 | |
| commit | 3720251fcaf0362275aa71d5ff1efcbdcc226374 (patch) | |
| tree | 41e082984867cd8a9ea3cf4df4971adfcede063c /web/template | |
| parent | [feature] Push notifications (#3587) (diff) | |
| download | gotosocial-3720251fcaf0362275aa71d5ff1efcbdcc226374.tar.xz | |
[feature] show status edits on frontend (#3678)
* add 'edited-at' field to status info web template
* make the edited-at text italic
* small change in phrasing
Diffstat (limited to 'web/template')
| -rw-r--r-- | web/template/status_info.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/template/status_info.tmpl b/web/template/status_info.tmpl index c5ba3ef35..366300071 100644 --- a/web/template/status_info.tmpl +++ b/web/template/status_info.tmpl @@ -26,6 +26,14 @@ <time datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time> </dd> </div> + {{- if .EditedAt -}} + <div class="stats-item edited-at text-cutoff"> + <dt class="sr-only">Edited</dt> + <dd> + (last edited <time datetime="{{- .EditedAt -}}">{{- .EditedAt | timestampPrecise -}}</time>) + </dd> + </div> + {{ end }} <div class="stats-grouping"> <div class="stats-item" title="Replies"> <dt> |
