mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Issue 48 - If no ignored rules say so in header of ignored rules section on results page.
This commit is contained in:
@@ -95,24 +95,28 @@
|
|||||||
<a class="pull-right" href="#top" data-role="top">Back to top</a>
|
<a class="pull-right" href="#top" data-role="top">Back to top</a>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p class="heading label-warning" id="notices">Well done! You have 0 notices. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
<p class="heading label-info" id="notices">Well done! You have 0 notices. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="heading label-default">
|
{{#if task.ignore.length}}
|
||||||
<span data-role="expander" class="pull-right expander"> + </span>
|
<div class="heading label-default">
|
||||||
Ignored Rules
|
<span data-role="expander" class="pull-right expander"> + </span>
|
||||||
</div>
|
Ignored Rules
|
||||||
<div class="task-default tasks-list collapse clearfix">
|
</div>
|
||||||
<ul class="list-unstyled">
|
<div class="task-default tasks-list collapse clearfix">
|
||||||
{{#task.ignore}}
|
<ul class="list-unstyled">
|
||||||
<li>
|
{{#task.ignore}}
|
||||||
<p class="crunch rule-name">{{name}}</p>
|
<li>
|
||||||
{{#if description}}
|
<p class="crunch rule-name">{{name}}</p>
|
||||||
<p>{{description}}</p>
|
{{#if description}}
|
||||||
{{/if}}
|
<p>{{description}}</p>
|
||||||
</li>
|
{{/if}}
|
||||||
{{/task.ignore}}
|
</li>
|
||||||
</ul>
|
{{/task.ignore}}
|
||||||
<a class="pull-right" href="#top" data-role="top">Back to top</a>
|
</ul>
|
||||||
</div>
|
<a class="pull-right" href="#top" data-role="top">Back to top</a>
|
||||||
|
</div>
|
||||||
|
{{else}}
|
||||||
|
<p class="heading label-default">You have no ignored rules.</p>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
Reference in New Issue
Block a user