Skip to content

Commit

Permalink
fix(panel/hints): resolve layout issue with multiple categories
Browse files Browse the repository at this point in the history
  • Loading branch information
btford committed Dec 9, 2014
1 parent 3a999ad commit a192204
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions panel/hints/hints.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
<div class="sidebar-pane-stack audit-result-view fill visible" ng-controller="HintController">

<div></div>

<div class="sidebar-pane-title expanded"
ng-repeat="(groupName, group) in groupedHints">{{groupName}}
ng-repeat-start="(groupName, group) in groupedHints">{{groupName}}
<div class="sidebar-pane-toolbar"></div>
</div>

<div class="sidebar-pane visible" ng-repeat="(summary, hints) in group">
<div class="body audit-result-tree">
<ol>
<li class="parent audit-result">
<div class="severity-warning"></div>{{summary}} ({{hints.length}})
</li>
<li class="parent-expanded expanded selected">
Controller names should start with an uppercase character and end with the suffix <code>Controller</code>. For example: <code>UserController</code>.
</li>
<ol class="children expanded">
<li class="selected" ng-repeat="hint in hints" bat-code="hint.message"></li>
</ol>
<div class="sidebar-pane visible"
ng-repeat-end
ng-repeat="(summary, hints) in group">
<div class="body audit-result-tree">
<ol>
<li class="parent audit-result">
<div class="severity-warning"></div>{{summary}} ({{hints.length}})
</li>
<li class="parent-expanded expanded selected">
Controller names should start with an uppercase character and end with the suffix <code>Controller</code>. For example: <code>UserController</code>.
</li>
<ol class="children expanded">
<li class="selected" ng-repeat="hint in hints" bat-code="hint.message"></li>
</ol>
</div>
</ol>
</div>

</div>

</div>

0 comments on commit a192204

Please sign in to comment.