gitlabhq/app/views/projects/_project_head.html.haml

19 lines
823 B
Plaintext
Raw Normal View History

.merge-tabs
2011-12-30 07:54:42 +01:00
= link_to project_path(@project), :class => "activities-tab tab #{'active' if current_page?(project_path(@project)) }" do
%span
Activities
2011-12-30 07:54:42 +01:00
= link_to info_project_path(@project), :class => "stat-tab tab #{'active' if current_page?(info_project_path(@project)) || current_page?(edit_project_path(@project)) }" do
%span
Info
2011-12-30 07:54:42 +01:00
= link_to team_project_path(@project), :class => "team-tab tab #{'active' if current_page?(team_project_path(@project)) }" do
%span
Team
2011-12-30 07:54:42 +01:00
= link_to files_project_path(@project), :class => "files-tab tab #{'active' if current_page?(files_project_path(@project)) }" do
%span
Files
2011-12-30 07:54:42 +01:00
= link_to project_snippets_path(@project), :class => "snippets-tab tab #{'active' if current_page?(project_snippets_path(@project)) }" do
%span
Snippets