diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-18 12:54:02 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-18 12:54:02 +0200 |
commit | b371b6d13974fe8db3601e68922db0b735049a17 (patch) | |
tree | 245a4752efce600fabe629dd8e0e6d82cdecfdb5 /app/views/snippets | |
parent | 1565a95da17ba8425486839d0712a9141d66b98f (diff) | |
download | gitlab-ce-b371b6d13974fe8db3601e68922db0b735049a17.tar.gz |
Update style of snippet detail page
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/show.html.haml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml index 612d7b65d8d..69d8899d4c1 100644 --- a/app/views/snippets/show.html.haml +++ b/app/views/snippets/show.html.haml @@ -1,12 +1,14 @@ - page_title @snippet.title, "Snippets" -= render 'shared/snippets/header' -.file-holder - .file-title - %i.fa.fa-file - %strong - = @snippet.file_name - .file-actions - .btn-group - = link_to 'Raw', raw_snippet_path(@snippet), class: "btn btn-sm", target: "_blank" - = render 'shared/snippets/blob' +.snippet-holder + = render 'shared/snippets/header' + + %article.file-holder + .file-title + = blob_icon 0, @snippet.file_name + %strong + = @snippet.file_name + .file-actions.hidden-xs + .btn-group.tree-btn-group + = link_to 'Raw', raw_snippet_path(@snippet), class: "btn btn-sm", target: "_blank" + = render 'shared/snippets/blob' |