cleaning side menu
This commit is contained in:
parent
9b3fabcc9a
commit
8209a2ff49
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue