Permalink
Browse files

Little hack to display percent values.

  • Loading branch information...
1 parent d90aefc commit be8cd75d7beb936c3d9bb016f54932153116d586 @jacobian jacobian committed Aug 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/dashboard/index.html
View
2 templates/dashboard/index.html
@@ -10,7 +10,7 @@
<div class="metric{% if report.metric.show_sparkline %} has-sparkline{% endif %}">
<h2><a href="{{ report.metric.link }}">{{ report.metric.name }}</a></h2>
<p class="value" >
- <a href="{{ report.metric.link }}">{{ report.latest.measurement }}</a>
+ <a href="{{ report.metric.link }}">{{ report.latest.measurement }}{% if report.metric.unit == "%" %}%{% endif %}</a>
<span class="timestamp">&nbsp;</span>
</p>
{% if report.metric.show_sparkline %}

0 comments on commit be8cd75

Please sign in to comment.