Commit 8209a2ff49f119d2aace2e9081bd607895f0a1f4

Authored by Dmitriy Zaporozhets
1 parent 9b3fabcc

cleaning side menu

Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
app/views/layouts/project.html.haml
@@ -43,11 +43,9 @@ @@ -43,11 +43,9 @@
43 Snippets 43 Snippets
44 - if @project.snippets.count > 0 44 - if @project.snippets.count > 0
45 %span{ :class => "number" }= @project.snippets.non_expired.count 45 %span{ :class => "number" }= @project.snippets.non_expired.count
46 - - if @commit  
47 - = link_to truncate(commit_name(@project,@commit), :length => 15), project_commit_path(@project, :id => @commit.id), :class => current_page?(:controller => "commits", :action => "show", :project_id => @project, :id => @commit.id) ? "current" : nil  
48 46
49 - if can? current_user, :admin_project, @project 47 - if can? current_user, :admin_project, @project
50 - = link_to "Edit", edit_project_path(@project), :class => (current_page?(edit_project_path(@project))) ? "current" : nil 48 + = link_to "Project", edit_project_path(@project), :class => (current_page?(edit_project_path(@project))) ? "current" : nil
51 49
52 .medium-tags{:style => 'padding: 10px 0 0 10px; width: 210px;'}= tag_list @project 50 .medium-tags{:style => 'padding: 10px 0 0 10px; width: 210px;'}= tag_list @project
53 51