diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-08-12 16:24:22 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-08-12 16:24:22 +0200 |
commit | c4ae7aab6f9f66073b0200a837652df5942e9b7b (patch) | |
tree | 39be81a1bd3270e2a32a11be3340bf26a463f858 /app/views/admin | |
parent | aa485d6f055b93fd7a9df8b47ed96122b38af39e (diff) | |
parent | 74111bbb1c643aae516bd4bcb201052161ee725d (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/tags/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/tags/show.html.haml b/app/views/admin/tags/show.html.haml index 6a1e03065..c3779d48c 100644 --- a/app/views/admin/tags/show.html.haml +++ b/app/views/admin/tags/show.html.haml @@ -41,5 +41,5 @@ - @usage_by_domain.each do |(domain, count)| %tr %th= domain || site_hostname - %td= "#{number_with_delimiter((count.to_f / @tag.history[0][:uses].to_f) * 100)}%" + %td= number_to_percentage((count / @tag.history[0][:uses].to_f) * 100) %td= number_with_delimiter count |