summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-13 19:20:25 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-13 19:20:25 -0700
commit2da2720584e162c53436a046380740bd64c3ad24 (patch)
tree7608f1eb08ae5b4e84571257b5f2a8b95cbc1273 /app/views/projects/snippets
parent3aded9d5816b8605d5ccf486ab2e38247e2b654f (diff)
downloadgitlab-ce-2da2720584e162c53436a046380740bd64c3ad24.tar.gz
Improve css for file actions
Diffstat (limited to 'app/views/projects/snippets')
-rw-r--r--app/views/projects/snippets/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/snippets/show.html.haml b/app/views/projects/snippets/show.html.haml
index 345848fa6d1..408e3c0224a 100644
--- a/app/views/projects/snippets/show.html.haml
+++ b/app/views/projects/snippets/show.html.haml
@@ -23,9 +23,9 @@
.file-holder
.file-title
%i.fa.fa-file
- %span.file_name
+ %strong
= @snippet.file_name
- .options
+ .file-actions
.btn-group
- if can?(current_user, :modify_project_snippet, @snippet)
= link_to "edit", edit_namespace_project_snippet_path(@project.namespace, @project, @snippet), class: "btn btn-small", title: 'Edit Snippet'