summaryrefslogtreecommitdiff
path: root/app/views/shared/snippets
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-15 17:29:37 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-15 17:29:37 +0100
commit5413960b1a0853ed486b642174bca194a1ef0e24 (patch)
tree7cd63303905c173e0edb1854bf37055e088f7013 /app/views/shared/snippets
parent4493d3fd556af6ded47f940f258b0fc26c9eb3e8 (diff)
downloadgitlab-ce-5413960b1a0853ed486b642174bca194a1ef0e24.tar.gz
Fix headers of milestone and snippet show pages
Diffstat (limited to 'app/views/shared/snippets')
-rw-r--r--app/views/shared/snippets/_header.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/shared/snippets/_header.html.haml b/app/views/shared/snippets/_header.html.haml
index 669e6119fb6..04a2f5a2b3b 100644
--- a/app/views/shared/snippets/_header.html.haml
+++ b/app/views/shared/snippets/_header.html.haml
@@ -1,9 +1,10 @@
.issuable-details
- .page-title
+ .issuable-title
.snippet-box.has_tooltip{class: visibility_level_color(@snippet.visibility_level), title: snippet_visibility_level_description(@snippet.visibility_level, @snippet), data: { container: 'body' }}
= visibility_level_icon(@snippet.visibility_level, fw: false)
= visibility_level_label(@snippet.visibility_level)
- Snippet ##{@snippet.id}
+ %span.issuable-id
+ Snippet ##{@snippet.id}
%span.creator
&middot; created by #{link_to_member(@project, @snippet.author, size: 24)}
&middot;
@@ -20,6 +21,6 @@
- else
= render "snippets/actions"
- .gray-content-block.middle-block
+ .gray-content-block.second-block
%h2.issue-title
= markdown escape_once(@snippet.title), pipeline: :single_line