Skip to content

Commit

Permalink
feat: add link to wip in open page + link to open in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jul 13, 2020
1 parent 944fff5 commit 03a7345
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions static/_layouts/base.tmpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ <h4 class="text-white">@{{.User.Slug}}</h4>
<a href="#">πŸ” Back to top</a>
<!-- FIXME: use scroll -->
</p>
<p><a href="/open">πŸ“Š Open</a></p>
<!-- https://wip.chat/products/sgtm -->
<!-- feedback -->
<!-- terms -->
Expand Down
7 changes: 6 additions & 1 deletion static/_layouts/open.tmpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>πŸ“Š Open</h1>
<p>
View the timeline of changes on <a href="https://wip.chat/products/sgtm?ref=sgtm">WIP.chat</a>.
</p>
<h4>Statistics</h4>
<ul>
<li>Users: {{.Open.Users}}</li>
<li>Tracks: {{.Open.Tracks}}</li>
<li>Track drafts: {{.Open.TrackDrafts}}</li>
<li>Uptime: <span data-toggle="tooltip" data-placement="right" title="{{.Service.StartedAt | prettyDate}}">{{.Service.StartedAt | prettyAgo}}</span></li>
<li>Uptime: <span data-toggle="tooltip" data-placement="right" title="{{.Service.StartedAt | prettyDate}}">{{.Service.StartedAt | prettyAgo | trimSuffix " ago"}}</span></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 03a7345

Please sign in to comment.