From 2a3adcab5b0290ba49c7ad3fbba77bc7be297783 Mon Sep 17 00:00:00 2001 From: perryharlock Date: Mon, 11 Nov 2013 10:03:12 +0000 Subject: [PATCH] Issue 48 - If no ignored rules say so in header of ignored rules section on results page. --- view/partial/result.html | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/view/partial/result.html b/view/partial/result.html index 23c282d..ea4dba7 100644 --- a/view/partial/result.html +++ b/view/partial/result.html @@ -95,24 +95,28 @@ Back to top {{else}} -

Well done! You have 0 notices.

+

Well done! You have 0 notices.

{{/if}} -
- + - Ignored Rules -
-
- - Back to top -
+ {{#if task.ignore.length}} +
+ + + Ignored Rules +
+
+ + Back to top +
+ {{else}} +

You have no ignored rules.

+ {{/if}} \ No newline at end of file