Commit 8209a2ff authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

cleaning side menu

parent 9b3fabcc
...@@ -43,11 +43,9 @@ ...@@ -43,11 +43,9 @@
Snippets Snippets
- if @project.snippets.count > 0 - if @project.snippets.count > 0
%span{ :class => "number" }= @project.snippets.non_expired.count %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 - 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 .medium-tags{:style => 'padding: 10px 0 0 10px; width: 210px;'}= tag_list @project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment