project layout

This commit is contained in:
gitlabhq 2011-10-28 15:07:58 +03:00
parent 1ffb4b98c0
commit 487ae906a9
5 changed files with 71 additions and 9 deletions

View file

@ -1,5 +1,4 @@
%div.top_project_menu
-#%span= link_to @project.code.capitalize, @project, :class => current_page?(:controller => "projects", :action => "show", :id => @project) ? "current" : nil
- if @project.repo_exists?
%span= link_to image_tag("home.png", :width => 20), project_path(@project), :class => current_page?(:controller => "projects", :action => "show", :id => @project) ? "current" : nil
%span= link_to "Tree", tree_project_path(@project), :class => current_page?(:controller => "projects", :action => "tree", :id => @project) ? "current" : nil