diff options
author | Aki <please@ignore.pl> | 2021-05-08 00:43:14 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-05-08 00:43:14 +0200 |
commit | 0c6f300f90bf576ffd67df7331fc57b55c5484d3 (patch) | |
tree | a89c3aed3c17fc0104c0e51be794a1f2eb95eef6 /recent.tmpl | |
parent | a446a7ddf00a700079960e73a9b82f46d22c6ce4 (diff) | |
download | field-0c6f300f90bf576ffd67df7331fc57b55c5484d3.zip field-0c6f300f90bf576ffd67df7331fc57b55c5484d3.tar.gz field-0c6f300f90bf576ffd67df7331fc57b55c5484d3.tar.bz2 |
Added start and end dates to recent items
Diffstat (limited to 'recent.tmpl')
-rw-r--r-- | recent.tmpl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/recent.tmpl b/recent.tmpl index 6d20a8c..8311636 100644 --- a/recent.tmpl +++ b/recent.tmpl @@ -14,11 +14,14 @@ <h2>Recent</h2> {{range .}} <div class="recent-item"> - <header> + <div class="header left-right"> <a href="/view/{{.Id}}">{{.Name}}</a> - <span class="last-modified">{{.LastModified.Format "January 02, 2006 15:04 UTC"}}</span> - </header> - <span class="id">{{.Id}}</span> + <span>{{.StartTime.Format "January 02, 2006 15:04 UTC"}}</span> + </div> + <div class="details left-right"> + <span class="id">{{.Id}}</span> + <span>Last updated on {{.StartTime.Format "January 02, 2006 15:04 UTC"}}</span> + </div> </div> {{end}} <h2>About</h2> |