Commit 0903932320073e3e5120faae523e00a94709a95a
1 parent
d4052923
Exists in
master
and in
4 other branches
updated
Showing
4 changed files
with
28 additions
and
25 deletions
Show diff stats
app/controllers/commits_controller.rb
app/controllers/snippets_controller.rb
app/controllers/team_members_controller.rb
app/views/layouts/project.html.haml
... | ... | @@ -14,32 +14,32 @@ |
14 | 14 | #container |
15 | 15 | = render :partial => "layouts/flash" |
16 | 16 | = render :partial => "layouts/head_panel" |
17 | - = render :partial => "layouts/page_title" | |
18 | 17 | .project-container |
19 | - .project-sidebar.grid_1 | |
20 | - %input.git-url.text{:id => "", :name => "", :readonly => "", :type => "text", :value => @project.url_to_repo} | |
21 | - %aside | |
22 | - = link_to image_tag("home.png", :width => 20), project_path(@project), :class => current_page?(:controller => "projects", :action => "show", :id => @project) ? "current" : nil | |
23 | - = link_to "Tree", tree_project_path(@project), :class => current_page?(:controller => "projects", :action => "tree", :id => @project) ? "current" : nil | |
24 | - = link_to "Commits", project_commits_path(@project), :class => current_page?(:controller => "commits", :action => "index", :project_id => @project) ? "current" : nil | |
25 | - = link_to team_project_path(@project), :class => (current_page?(:controller => "projects", :action => "team", :id => @project) || controller.controller_name == "team_members") ? "current" : nil do | |
26 | - Team | |
27 | - - if @project.users_projects.count > 0 | |
28 | - %span{ :class => "top_menu_count" }= @project.users_projects.count | |
29 | - = link_to project_issues_path(@project), :class => (controller.controller_name == "issues") ? "current" : nil do | |
30 | - Issues | |
31 | - - if @project.issues.opened.count > 0 | |
32 | - %span{ :class => "top_menu_count" }= @project.issues.opened.count | |
33 | - = link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do | |
34 | - Wall | |
35 | - - if @project.common_notes.count > 0 | |
36 | - %span{ :class => "top_menu_count" }= @project.common_notes.count | |
37 | - = link_to project_snippets_path(@project), :class => (controller.controller_name == "snippets") ? "current" : nil do | |
38 | - Snippets | |
39 | - - if @project.snippets.count > 0 | |
40 | - %span{ :class => "top_menu_count" }= @project.snippets.non_expired.count | |
41 | - - if @commit | |
42 | - = 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 | |
18 | + .project-sidebar | |
19 | + .fixed | |
20 | + %input.git-url.text{:id => "", :name => "", :readonly => "", :type => "text", :value => @project.url_to_repo} | |
21 | + %aside | |
22 | + = link_to image_tag("home.png", :width => 20), project_path(@project), :class => current_page?(:controller => "projects", :action => "show", :id => @project) ? "current" : nil | |
23 | + = link_to "Tree", tree_project_path(@project), :class => current_page?(:controller => "projects", :action => "tree", :id => @project) ? "current" : nil | |
24 | + = link_to "Commits", project_commits_path(@project), :class => current_page?(:controller => "commits", :action => "index", :project_id => @project) ? "current" : nil | |
25 | + = link_to team_project_path(@project), :class => (current_page?(:controller => "projects", :action => "team", :id => @project) || controller.controller_name == "team_members") ? "current" : nil do | |
26 | + Team | |
27 | + - if @project.users_projects.count > 0 | |
28 | + %span{ :class => "top_menu_count" }= @project.users_projects.count | |
29 | + = link_to project_issues_path(@project), :class => (controller.controller_name == "issues") ? "current" : nil do | |
30 | + Issues | |
31 | + - if @project.issues.opened.count > 0 | |
32 | + %span{ :class => "top_menu_count" }= @project.issues.opened.count | |
33 | + = link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do | |
34 | + Wall | |
35 | + - if @project.common_notes.count > 0 | |
36 | + %span{ :class => "top_menu_count" }= @project.common_notes.count | |
37 | + = link_to project_snippets_path(@project), :class => (controller.controller_name == "snippets") ? "current" : nil do | |
38 | + Snippets | |
39 | + - if @project.snippets.count > 0 | |
40 | + %span{ :class => "top_menu_count" }= @project.snippets.non_expired.count | |
41 | + - if @commit | |
42 | + = 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 | |
43 | 43 | |
44 | 44 | |
45 | 45 | .project-content | ... | ... |