diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-11-25 21:56:05 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-11-25 21:56:05 +0200 |
commit | 8209a2ff49f119d2aace2e9081bd607895f0a1f4 (patch) | |
tree | 5918efc0c16f02e2c68f8cedad796f2e08043c7c | |
parent | 9b3fabcc9a56fbf1840d04bf3dd42bc693317ec9 (diff) | |
download | gitlab-ce-8209a2ff49f119d2aace2e9081bd607895f0a1f4.tar.gz |
cleaning side menu
-rw-r--r-- | app/views/layouts/project.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml index 00955a450c1..b6ce8096e5c 100644 --- a/app/views/layouts/project.html.haml +++ b/app/views/layouts/project.html.haml @@ -43,11 +43,9 @@ Snippets - if @project.snippets.count > 0 %span{ :class => "number" }= @project.snippets.non_expired.count - - if @commit - = 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 - if can? current_user, :admin_project, @project - = link_to "Edit", edit_project_path(@project), :class => (current_page?(edit_project_path(@project))) ? "current" : nil + = link_to "Project", edit_project_path(@project), :class => (current_page?(edit_project_path(@project))) ? "current" : nil .medium-tags{:style => 'padding: 10px 0 0 10px; width: 210px;'}= tag_list @project |