gitlab-org--gitlab-foss/app/views/layouts/group.html.haml

25 lines
1 KiB
Text
Raw Normal View History

2012-10-02 12:37:53 -04:00
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "#{@group.name}"
2012-10-02 12:37:53 -04:00
%body{class: "#{app_theme} application"}
= render "layouts/flash"
2012-10-02 13:42:15 -04:00
= render "layouts/head_panel", title: "#{@group.name}"
2012-10-02 12:37:53 -04:00
.container
%ul.main_menu
2012-10-02 13:42:15 -04:00
= nav_link(path: 'groups#show', html_options: {class: 'home'}) do
= link_to "Home", group_path(@group), title: "Home"
= nav_link(path: 'groups#issues') do
= link_to issues_group_path(@group) do
2012-10-02 12:37:53 -04:00
Issues
%span.count= current_user.assigned_issues.opened.of_group(@group).count
2012-10-02 13:42:15 -04:00
= nav_link(path: 'groups#merge_requests') do
= link_to merge_requests_group_path(@group) do
2012-10-02 12:37:53 -04:00
Merge Requests
2012-12-24 14:27:12 -05:00
%span.count= current_user.cared_merge_requests.opened.of_group(@group).count
2012-10-02 13:42:15 -04:00
= nav_link(path: 'groups#search') do
= link_to "Search", search_group_path(@group)
= nav_link(path: 'groups#people') do
= link_to "People", people_group_path(@group)
2012-10-02 12:37:53 -04:00
.content= yield