Skip to content

Commit

Permalink
Change the order of the boxes in the sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Apr 25, 2011
1 parent 7d79a50 commit 50505d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/_sidebar.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
%ul
%li= link_to "Pas de compte ? S'inscrire !", '/compte/inscription'
%li= link_to "Proposer un contenu", '/proposer-un-contenu'
= yield :column
- if current_account && (current_account.writer? || current_account.amr?)
= render 'redaction/box'
- if current_account && current_account.amr?
= render 'moderation/box'
- if current_account && current_account.admin?
= render 'admin/box'
= yield :column
2 changes: 1 addition & 1 deletion app/views/tags/show.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- content_for :column do
= render "tags/box"
= render "tags/near"
= render "tags/box"
= render "hide"

=h1 "Tous les contenus que j'ai taggés avec #{@tag.name}"
Expand Down

0 comments on commit 50505d7

Please sign in to comment.