From efee4adbf66fb973e6a4a30baee669e52033efa5 Mon Sep 17 00:00:00 2001 From: Martijn Vermaat <martijn@vermaat.name> Date: Thu, 5 Nov 2015 17:19:59 +0100 Subject: [PATCH] Fix counters reporting on about page We forgot to include the description extractor in the totals. Also, it said batch jobs were excluded from the totals, which is not the case. --- mutalyzer/website/templates/about.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mutalyzer/website/templates/about.html b/mutalyzer/website/templates/about.html index 0e16c0c2..9104204a 100644 --- a/mutalyzer/website/templates/about.html +++ b/mutalyzer/website/templates/about.html @@ -240,14 +240,16 @@ always be compared directly. counter_totals['batch-job/webservice']|d(0)) }}</td> </tr> <tr> - <td>Total (excluding batch jobs)</td> + <td>Total (all services)</td> <td class="text-right">{{ '{0:,}'.format(counter_totals['syntax-checker/website']|d(0) + counter_totals['name-checker/website']|d(0) + + counter_totals['description-extractor/website']|d(0) + counter_totals['position-converter/website']|d(0) + counter_totals['snp-converter/website']|d(0) + counter_totals['batch-job/website']|d(0)) }}</td> <td class="text-right">{{ '{0:,}'.format(counter_totals['syntax-checker/webservice']|d(0) + counter_totals['name-checker/webservice']|d(0) + + counter_totals['description-extractor/webservice']|d(0) + counter_totals['position-converter/webservice']|d(0) + counter_totals['snp-converter/webservice']|d(0) + counter_totals['batch-job/webservice']|d(0)) }}</td> @@ -261,6 +263,8 @@ always be compared directly. counter_totals['name-checker/website']|d(0) + counter_totals['name-checker/webservice']|d(0) + counter_totals['name-checker/batch']|d(0) + + counter_totals['description-extractor/website']|d(0) + + counter_totals['description-extractor/webservice']|d(0) + counter_totals['position-converter/website']|d(0) + counter_totals['position-converter/webservice']|d(0) + counter_totals['position-converter/batch']|d(0) + -- GitLab