mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Display the ignore rules for results, not tasks
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
Errors ( {{mainResult.count.error}} )
|
||||
</div>
|
||||
<div class="task-danger tasks-list collapse clearfix in">
|
||||
|
||||
|
||||
<ul class="list-unstyled">
|
||||
{{#mainResult.errors}}
|
||||
<li>
|
||||
@@ -89,25 +89,25 @@
|
||||
<p class="heading label-info" id="notices">Well done! You have 0 notices. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
||||
{{/if}}
|
||||
|
||||
{{#if task.ignore.length}}
|
||||
{{#if mainResult.ignore.length}}
|
||||
<div class="heading label-default">
|
||||
<span data-role="expander" class="pull-right expander"> + </span>
|
||||
Ignored Rules ( {{task.ignore.length}} )
|
||||
Ignored Rules ( {{mainResult.ignore.length}} )
|
||||
</div>
|
||||
<div class="task-default tasks-list collapse clearfix">
|
||||
<ul class="list-unstyled">
|
||||
{{#task.ignore}}
|
||||
{{#mainResult.ignore}}
|
||||
<li>
|
||||
<p class="crunch rule-name">{{name}}</p>
|
||||
{{#if description}}
|
||||
<p>{{description}}</p>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/task.ignore}}
|
||||
{{/mainResult.ignore}}
|
||||
</ul>
|
||||
<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