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
1 merge request!1Fix Links To Gitlab Cloud
Loading
@@ -75,7 +75,6 @@ ul.bordered-list {
Loading
@@ -75,7 +75,6 @@ ul.bordered-list {
display: block; display: block;
margin: 0px; margin: 0px;
&:last-child { border:none } &:last-child { border:none }
&.active { &.active {
background: #f9f9f9; background: #f9f9f9;
a { font-weight: bold; } a { font-weight: bold; }
Loading
Loading
Loading
@@ -7,3 +7,9 @@
Loading
@@ -7,3 +7,9 @@
} }
} }
} }
.my-snippets li:first-child {
h4 { margin-top: 0; }
padding-top: 0;
}
Loading
@@ -17,6 +17,7 @@
Loading
@@ -17,6 +17,7 @@
= "##{snippet.id}" = "##{snippet.id}"
%span %span
by by
= link_to user_snippets_path(snippet.author) do
= image_tag gravatar_icon(snippet.author_email), class: "avatar avatar-inline s16", alt: '' = image_tag gravatar_icon(snippet.author_email), class: "avatar avatar-inline s16", alt: ''
= snippet.author_name = snippet.author_name
%span.light #{time_ago_in_words(snippet.created_at)} ago %span.light #{time_ago_in_words(snippet.created_at)} ago
Loading
@@ -19,6 +19,6 @@
Loading
@@ -19,6 +19,6 @@
= nav_tab :scope, 'public' do = nav_tab :scope, 'public' do
= link_to "Public", user_snippets_path(@user, scope: 'public') = link_to "Public", user_snippets_path(@user, scope: 'public')
   
.span9 .span9.my-snippets
= render 'snippets' = render 'snippets'
   
Loading
@@ -9,7 +9,5 @@
Loading
@@ -9,7 +9,5 @@
My snippets My snippets
   
%hr %hr
.row
.span12
= render 'snippets' = render 'snippets'
   
Loading
@@ -16,6 +16,7 @@
Loading
@@ -16,6 +16,7 @@
= "##{@snippet.id}" = "##{@snippet.id}"
%span.light %span.light
by by
= link_to user_snippets_path(@snippet.author) do
= image_tag gravatar_icon(@snippet.author_email), class: "avatar avatar-inline s16" = image_tag gravatar_icon(@snippet.author_email), class: "avatar avatar-inline s16"
= @snippet.author_name = @snippet.author_name
   
Loading
Loading
Loading
@@ -4,7 +4,6 @@
Loading
@@ -4,7 +4,6 @@
%span %span
\/ \/
Snippets 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 = link_to new_snippet_path, class: "btn btn-small add_new pull-right", title: "New Snippet" do
Add new snippet Add new snippet
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment