Sets the precision of the percentage of repositories synced to 2

parent 0dc6e640
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
%span.help-block Primary node %span.help-block Primary node
- else - else
%p %p
%span.help-block= "Repositories synced: #{node.repositories_synced}/#{node.repositories} (#{number_to_percentage(node.repositories_synced_in_percentage, precision: 0)})" %span.help-block= "Repositories synced: #{node.repositories_synced}/#{node.repositories} (#{number_to_percentage(node.repositories_synced_in_percentage, precision: 2)})"
%p %p
%span.help-block= "Repositories failed: #{node.repositories_failed}" %span.help-block= "Repositories failed: #{node.repositories_failed}"
%p %p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment