summaryrefslogtreecommitdiff
path: root/app/views/snippets/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/snippets/show.html.haml')
-rw-r--r--app/views/snippets/show.html.haml13
1 files changed, 5 insertions, 8 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index 089e8122918..aed00f9caeb 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -1,5 +1,5 @@
- page_title @snippet.title, "Snippets"
-%h3.page-title
+%h4.page-title
= @snippet.title
- if @snippet.private?
@@ -8,17 +8,14 @@
private
.pull-right
- = link_to new_snippet_path, class: "btn btn-new", title: "New Snippet" do
+ = link_to new_snippet_path, class: "btn btn-new btn-sm", title: "New Snippet" do
Add new snippet
-%hr
-.append-bottom-20
+.append-bottom-10.prepend-top-10
.pull-right
- = "##{@snippet.id}"
%span.light
- by
+ created by
= link_to user_snippets_path(@snippet.author) do
- = image_tag avatar_icon(@snippet.author_email), class: "avatar avatar-inline s16", alt: ''
= @snippet.author_name
.back-link
@@ -27,7 +24,7 @@
← your snippets
- else
= link_to snippets_path do
- ← discover snippets
+ ← explore snippets
.file-holder
.file-title