diff options
| author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-15 22:40:35 +0200 |
|---|---|---|
| committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-15 22:40:35 +0200 |
| commit | e21deaee8ee0d453bf899c1b3fb46262cc60dab9 (patch) | |
| tree | 59b04c9cb1c8ce6c510a78ee787fb31817619835 /app/views/snippets/index.html.haml | |
| parent | 7e2dbcbe0915cfd75e91d78e943c153f284df37d (diff) | |
| parent | 0ad669bb5ba08d012d3daa50b51a3a6b069e3e83 (diff) | |
| download | gitlab-ce-e21deaee8ee0d453bf899c1b3fb46262cc60dab9.tar.gz | |
Merge remote-tracking branch 'origin/master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g
# Conflicts:
# Gemfile.lock
Diffstat (limited to 'app/views/snippets/index.html.haml')
| -rw-r--r-- | app/views/snippets/index.html.haml | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml index 3b62dd2a6e1..7e4918a6085 100644 --- a/app/views/snippets/index.html.haml +++ b/app/views/snippets/index.html.haml @@ -1,15 +1,13 @@ -- page_title "Public Snippets" -- if current_user - = render 'head' - -.gray-content-block - - if current_user - .pull-right - = link_to new_snippet_path, class: "btn btn-new", title: "New Snippet" do - Add new snippet - - .oneline - Public snippets created by you and other users are listed here +- page_title "By #{@user.name}", "Snippets" + +%ol.breadcrumb + %li + = link_to snippets_path do + Snippets + %li + = @user.name + .pull-right.hidden-xs + = link_to user_path(@user) do + #{@user.name} profile page = render 'snippets' - |
