gitlabhq/app/views/layouts/user_team.html.haml

23 lines
879 B
Plaintext
Raw Normal View History

2013-01-19 18:33:38 +01:00
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "#{@team.name}"
2013-01-19 18:33:38 +01:00
%body{class: "#{app_theme} application"}
= render "layouts/flash"
2013-01-24 09:16:03 +01:00
= render "layouts/head_panel", title: "team: #{@team.name}"
2013-01-19 18:33:38 +01:00
.container
%ul.main_menu
= nav_link(path: 'teams#show', html_options: {class: 'home'}) do
= link_to "Home", team_path(@team), title: "Home"
2013-01-19 18:33:38 +01:00
= nav_link(path: 'teams#issues') do
= link_to issues_team_path(@team) do
2013-01-19 18:33:38 +01:00
Issues
%span.count= Issue.opened.of_user_team(@team).count
2013-01-19 18:33:38 +01:00
= nav_link(path: 'teams#merge_requests') do
= link_to merge_requests_team_path(@team) do
2013-01-19 18:33:38 +01:00
Merge Requests
%span.count= MergeRequest.opened.of_user_team(@team).count
2013-01-19 18:33:38 +01:00
= nav_link(path: 'teams#search') do
= link_to "Search", search_team_path(@team)
2013-01-19 18:33:38 +01:00
.content= yield