Skip to content
Snippets Groups Projects
Commit 33347efa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

User links to user snippets

parent 82e1fe46
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -75,7 +75,6 @@ ul.bordered-list {
display: block;
margin: 0px;
&:last-child { border:none }
&.active {
background: #f9f9f9;
a { font-weight: bold; }
Loading
Loading
Loading
Loading
@@ -7,3 +7,9 @@
}
}
}
.my-snippets li:first-child {
h4 { margin-top: 0; }
padding-top: 0;
}
Loading
Loading
@@ -17,6 +17,7 @@
= "##{snippet.id}"
%span
by
= image_tag gravatar_icon(snippet.author_email), class: "avatar avatar-inline s16", alt: ''
= snippet.author_name
= link_to user_snippets_path(snippet.author) do
= image_tag gravatar_icon(snippet.author_email), class: "avatar avatar-inline s16", alt: ''
= snippet.author_name
%span.light #{time_ago_in_words(snippet.created_at)} ago
Loading
Loading
@@ -19,6 +19,6 @@
= nav_tab :scope, 'public' do
= link_to "Public", user_snippets_path(@user, scope: 'public')
 
.span9
.span9.my-snippets
= render 'snippets'
 
Loading
Loading
@@ -9,7 +9,5 @@
My snippets
 
%hr
.row
.span12
= render 'snippets'
= render 'snippets'
 
Loading
Loading
@@ -16,8 +16,9 @@
= "##{@snippet.id}"
%span.light
by
= image_tag gravatar_icon(@snippet.author_email), class: "avatar avatar-inline s16"
= @snippet.author_name
= link_to user_snippets_path(@snippet.author) do
= image_tag gravatar_icon(@snippet.author_email), class: "avatar avatar-inline s16"
= @snippet.author_name
 
.back-link
- if @snippet.author == current_user
Loading
Loading
Loading
Loading
@@ -4,7 +4,6 @@
%span
\/
Snippets
%small share code pastes with others out of git repository
= link_to new_snippet_path, class: "btn btn-small add_new pull-right", title: "New Snippet" do
Add new snippet
 
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