Skip to content
Snippets Groups Projects
Unverified Commit 8129e2f3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Small ui improvements to snippet page

parent 0d8ad2dd
No related branches found
No related tags found
No related merge requests found
- page_title @snippet.title, "Snippets"
%h3.page-title
%h4.page-title
= @snippet.title
 
- if @snippet.private?
Loading
Loading
@@ -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
Loading
Loading
@@ -27,7 +24,7 @@
← your snippets
- else
= link_to snippets_path do
← discover snippets
← explore snippets
 
.file-holder
.file-title
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment