merge into public

This commit is contained in:
Andrey Kumanyaev 2013-01-19 21:33:38 +04:00 committed by Dmitriy Zaporozhets
parent 7d3efec7d1
commit 911f6eb106
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,22 @@
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "#{@user_team.name}"
%body{class: "#{app_theme} application"}
= render "layouts/flash"
= render "layouts/head_panel", title: "#{@user_team.name}"
.container
%ul.main_menu
= nav_link(path: 'teams#show', html_options: {class: 'home'}) do
= link_to "Home", team_path(@user_team), title: "Home"
= nav_link(path: 'teams#issues') do
= link_to issues_team_path(@user_team) do
Issues
%span.count= Issue.opened.of_user_team(@user_team).count
= nav_link(path: 'teams#merge_requests') do
= link_to merge_requests_team_path(@user_team) do
Merge Requests
%span.count= MergeRequest.opened.of_user_team(@user_team).count
= nav_link(path: 'teams#search') do
= link_to "Search", search_team_path(@user_team)
.content= yield