about summary refs log tree commit diff
path: root/app/views/admin/tags/show.html.haml
diff options
context:
space:
mode:
authorReverite <github@reverite.sh>2019-08-13 15:45:40 -0700
committerReverite <github@reverite.sh>2019-08-13 15:45:40 -0700
commit2e221bd5b6472d1eecb654b3518af7886d3dadaf (patch)
treeafb9e3a86ba3a93b6b5f04cdec6070351992fed4 /app/views/admin/tags/show.html.haml
parent9528d3eda280ffac20a18c6f21bfc51f594e2c86 (diff)
parentb859eb001717dfc62aebb8eba47b84c75aebe4ef (diff)
Merge branch 'glitch' into production
Diffstat (limited to 'app/views/admin/tags/show.html.haml')
-rw-r--r--app/views/admin/tags/show.html.haml2
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