Skip to content

Commit

Permalink
fix(html): add missing History chart on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
vednoc committed Jun 30, 2021
1 parent afc459b commit 925687d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions views/core/dashboard.html
Expand Up @@ -22,8 +22,13 @@ <h1>Dashboard</h1>
<p class="fg:3">WIP functionality to help with moderation.</p>
</section>

<section class="history">
<h2 class="td:d">History</h2>
<div class="chart">{{ .History | unescape }}</div>
</section>

<section class="users mt:l">
<h2>Users</h2>
<h2 class="td:d">Users</h2>
<p class="fg:3 mb:m">{{ len .Users }} users in total.</p>

{{ if gt (len .Users) 1 }}
Expand Down Expand Up @@ -59,7 +64,7 @@ <h2>Users</h2>
</section>

<section class="styles mt:l">
<h2>Styles</h2>
<h2 class="td:d">Styles</h2>
<p class="fg:3 mb:m">{{ len .Styles }} styles in total.</p>
{{ if gt (len .Styles) 1 }}
{{/* template "partials/debug-styles" . */}}
Expand Down

0 comments on commit 925687d

Please sign in to comment.