Commit 065c200c33f68c2bb781e35a43f9dc8138a893b5
1 parent
1e8b111b
Exists in
master
and in
4 other branches
removed unnecessary hr tags & titles
Showing
8 changed files
with
12 additions
and
13 deletions
Show diff stats
app/assets/stylesheets/common.scss
app/views/commits/_head.html.haml
| ... | ... | @@ -21,6 +21,12 @@ |
| 21 | 21 | %span.number= @project.repo.tags.count |
| 22 | 22 | |
| 23 | 23 | |
| 24 | + - if current_page?(project_commits_path(@project)) && current_user.private_token | |
| 25 | + %li.right | |
| 26 | + %span | |
| 27 | + = link_to project_commits_path(@project, :atom, { :private_token => current_user.private_token, :ref => @ref }), :class => "btn" do | |
| 28 | + feed | |
| 29 | + = image_tag "Rss-UI.PNG", :width => 14, :title => "feed" | |
| 24 | 30 | |
| 25 | 31 | |
| 26 | 32 | :javascript | ... | ... |
app/views/commits/index.html.haml
| 1 | 1 | = render "head" |
| 2 | -%h3 | |
| 3 | - Commits | |
| 4 | - - if current_user.private_token | |
| 5 | - %span.rss-icon | |
| 6 | - = link_to project_commits_path(@project, :atom, { :private_token => current_user.private_token, :ref => @ref }) do | |
| 7 | - = image_tag "Rss-UI.PNG", :width => 22, :title => "feed" | |
| 8 | -%hr | |
| 9 | 2 | |
| 10 | 3 | - if params[:path] |
| 11 | 4 | %ul.breadcrumb | ... | ... |
app/views/issues/index.html.haml
app/views/merge_requests/index.html.haml
app/views/notes/_form.html.haml
app/views/projects/graph.html.haml