Skip to content

Commit

Permalink
Fixed html validation: section lacks heading.
Browse files Browse the repository at this point in the history
The portal-toolbar section was always empty for anonymous,
and it should have a heading.
Fixed this in the rules by removing #portal-toolbar for anonymous.
  • Loading branch information
mauritsvanrees authored and thet committed Mar 11, 2016
1 parent 3c3f272 commit 313a97b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plonetheme/barceloneta/theme/rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@

<!-- toolbar -->
<replace css:theme="#portal-toolbar" css:content-children="#edit-bar" css:if-not-content=".ajax_load" css:if-content=".userrole-authenticated" />
<drop css:theme="#portal-toolbar" css:if-content=".userrole-anonymous" />
<replace css:theme="#anonymous-actions" css:content-children="#portal-personaltools-wrapper" css:if-not-content=".ajax_load" css:if-content=".userrole-anonymous" />

</rules>

0 comments on commit 313a97b

Please sign in to comment.