mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-09-06 11:46:24 -07:00
Show staff name and timestamp for announcements on dashboard
This commit is contained in:
parent
b80c8b3f76
commit
7813964f08
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<fieldset><legend>Announcements</legend>
|
||||
{{range $a, $announcement := $.announcements}}
|
||||
<div class="announcement">
|
||||
<b>{{$announcement.Subject}}</b><br />
|
||||
<b>{{$announcement.Subject}}</b> — <small>by {{$announcement.Staff}} at {{formatTimestamp $announcement.Timestamp}} </small><br />
|
||||
{{$announcement.Message}}
|
||||
</div>
|
||||
{{if gt (len $.announcements) (add $a 1)}}<hr />{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue