summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuha Sippola <juhasippola@outlook.com>2015-09-28 15:16:17 +0300
committerTony Sarajärvi <tony.sarajarvi@theqtcompany.com>2015-09-29 09:00:52 +0000
commita4f46e87b163d3a0d122285ab55185c6ae0dcf33 (patch)
tree911bf0f7d3e009269e9c99c9535ed284945bf724
parent1571a300fc21c72dbb1c0c120de9a721daa7dafd (diff)
Qt Metrics 2 (v0.36.2): Overview page fix
Bug: Sometimes the green testset bars on Overview page got very wide. Correction to the bar width calculation. Change-Id: I7fb8be2908faccb5b70c3a53e27f14e6913ed25f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
-rw-r--r--non-puppet/qtmetrics2/templates/about.html2
-rw-r--r--non-puppet/qtmetrics2/templates/overview.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/non-puppet/qtmetrics2/templates/about.html b/non-puppet/qtmetrics2/templates/about.html
index af8cd89..9465fe8 100644
--- a/non-puppet/qtmetrics2/templates/about.html
+++ b/non-puppet/qtmetrics2/templates/about.html
@@ -52,4 +52,4 @@ and the global Qt developer community are the target audience. For detailed desc
<p>See the <strong><a href="https://wiki.qt.io/Qt_Metrics_2_Backlog" target="_blank">backlog</a></strong>
for development items currently identified or in progress.</p>
-<p><small>Version 0.36.1 (28-Sep-2015)</small></p>
+<p><small>Version 0.36.2 (28-Sep-2015)</small></p>
diff --git a/non-puppet/qtmetrics2/templates/overview.html b/non-puppet/qtmetrics2/templates/overview.html
index 913fc2a..1434408 100644
--- a/non-puppet/qtmetrics2/templates/overview.html
+++ b/non-puppet/qtmetrics2/templates/overview.html
@@ -198,7 +198,7 @@ title="<table>
{% set failed = '' %}
{% endif %}
{% if (passed > 0) and (failed == 0) %}
-{% set passedBar = maxCount %}
+{% set passedBar = BAR_AREA %}
{% else %}
{% set passed = '' %}
{% endif %}