mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
polish
This commit is contained in:
parent
0f4bc9ea9d
commit
0fda99082e
@ -70,7 +70,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<i class="material-icons tiny" style="position: relative; top: 3px;">text_snippet</i>
|
||||
<i class="material-icons tiny" style="position: relative; top: 3px;">spellcheck</i>
|
||||
<%= pluralize document.word_count, 'word' %>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -105,10 +105,10 @@
|
||||
</p>
|
||||
<br />
|
||||
<%=
|
||||
line_chart @revisions.where('created_at > ?', Date.current - 45.days).group_by_day(:created_at).map { |ts, c|
|
||||
line_chart @revisions.where('created_at > ?', Date.current - 30.days).group_by_day(:created_at).map { |ts, c|
|
||||
[ts.split(' ').first, c * 5]
|
||||
},
|
||||
title: "Last 45 days",
|
||||
title: "Last 30 days",
|
||||
ytitle: "minutes",
|
||||
colors: [Document.color],
|
||||
suffix: " minutes",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user