diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-12-07 13:48:22 -0300 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-12-07 13:48:22 -0300 |
commit | 4b3bdf38a19a1aa8c4cf6d216cb68c37e2238bf2 (patch) | |
tree | 1afe5a614c8bea9c3150c33c6598529e02b1fb8c | |
parent | 14b8185e8051779a1ba500fe31bd2eb08c89edae (diff) |
Make admin link order consistent
Previously the admin links and permalinks on annotations and incoming
correspondence were reversed, this commit makes the admin link
consistently appear on the left and the permalink thingo appear on the
right.
-rw-r--r-- | app/views/comment/_single_comment.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/comment/_single_comment.html.erb b/app/views/comment/_single_comment.html.erb index d2edc8dbe..a6d234b34 100644 --- a/app/views/comment/_single_comment.html.erb +++ b/app/views/comment/_single_comment.html.erb @@ -17,10 +17,10 @@ </div> <p class="event_actions"> <% if !comment.id.nil? %> - <%= link_to "Link to this", comment_path(comment), :class => "link_to_this" %> <% if !@user.nil? && @user.admin_page_links? %> - | <%= link_to "Admin", admin_request_edit_comment_path(comment) %> + <%= link_to "Admin", admin_request_edit_comment_path(comment) %> | <% end %> + <%= link_to "Link to this", comment_path(comment), :class => "link_to_this" %> <!-- | <%= link_to _('Report abuse'), comment_path(comment) %> --> <% end %> </p> |