Little Improvements

Help text for create pitstops form
More precise error messages for create pitstops form
Fixed bu in statistics page when only one pitstop was present
This commit is contained in:
jlusiardi committed 2016-05-03 22:21:57 +02:00
1 parent 471f1415d9
commit e1e5fe7725
5 files changed
+29 -17

No files matched your search

@@ -82,7 +82,7 @@
{% endif %}
</div>
<div class="tab-pane " id="v{{vehicle.id}}_c3">
{% if vehicle.pitstop_count > 0 %}
{% if vehicle.pitstop_count > 1 %}
<div id="averageUsageDiv{{vehicle.id}}" style="width:100%; height:500px;"></div>
<script type="text/javascript">
{{ chartScript('averageUsageDiv'+vehicle.id|str, vehicle.average_litres, 'l/100 km') }}