Permalink
Browse files

Fix footer li styles for suggestion & admin items

  • Loading branch information...
1 parent 036088b commit ed4f1ae6aec8158c65fc5ae6806606f2cc34b47a @autarch autarch committed Sep 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 share/mason/footer.mas
@@ -2,13 +2,13 @@
<div id="footer-nav">
% if ( $c->vg_user()->viewable_suggestion_count() ) {
- <li class="first <% $c->vg_user()->is_admin() ? 'last' : q{} %>">
+ <li class="first <% $c->vg_user()->is_admin() ? q{} : 'last' %>">
<a href="<% user_uri( user => $c->vg_user(), path => 'suggestions' ) | h %>" title="Suggestions"
>Suggestions (<% $c->vg_user()->viewable_suggestion_count() %>)</a>
</li>
% }
% if ( $c->vg_user()->is_admin() ) {
- <li class="<% $c->vg_user()->viewable_suggestion_count() ? 'first' : q{} %> last"><a href="/site/admin/menu" title="Admin">Admin</a></li>
+ <li class="<% $c->vg_user()->viewable_suggestion_count() ? q{} : 'first' %> last"><a href="/site/admin/menu" title="Admin">Admin</a></li>
% }
</ul>

0 comments on commit ed4f1ae

Please sign in to comment.