summaryrefslogtreecommitdiff
path: root/app/views/snippets/show.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-30 16:40:43 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-30 16:40:43 +0200
commite2fb18a3ec8052997f0c9b795f76a6e4d57a9d97 (patch)
tree581eb89605251b13b121e7bb2201301da55aee89 /app/views/snippets/show.html.haml
parent7ba4f2dcfaa85fb89e15d9caa21bf75ad976389f (diff)
downloadgitlab-ce-e2fb18a3ec8052997f0c9b795f76a6e4d57a9d97.tar.gz
replace right with pull-right
Diffstat (limited to 'app/views/snippets/show.html.haml')
-rw-r--r--app/views/snippets/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index 767b9736545..e6bcd88f830 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -4,7 +4,7 @@
= @snippet.title
%small= @snippet.file_name
- if can?(current_user, :admin_snippet, @project) || @snippet.author == current_user
- = link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small right"
+ = link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small pull-right"
%br
%div= render 'blob'