mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 12:16:15 -06:00
add 'edited-at' field to status info web template
This commit is contained in:
parent
5b765d734e
commit
74a23a8657
2 changed files with 9 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ main {
|
|||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.stats-item:not(.published-at) {
|
||||
.stats-item:not(.published-at):not(.edited-at) {
|
||||
z-index: 1;
|
||||
user-select: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
(edited at <time datetime="{{- .EditedAt -}}">{{- .EditedAt | timestampPrecise -}}</time>)
|
||||
</dd>
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="stats-grouping">
|
||||
<div class="stats-item" title="Replies">
|
||||
<dt>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue