2012-10-02 18:37:53 +02:00
|
|
|
!!! 5
|
|
|
|
%html{ lang: "en"}
|
2012-11-28 18:40:54 +01:00
|
|
|
= render "layouts/head", title: "#{@group.name}"
|
2012-10-02 18:37:53 +02:00
|
|
|
%body{class: "#{app_theme} application"}
|
2013-01-24 09:16:03 +01:00
|
|
|
= render "layouts/head_panel", title: "group: #{@group.name}"
|
2013-02-28 10:06:52 +01:00
|
|
|
= render "layouts/flash"
|
2012-10-02 18:37:53 +02:00
|
|
|
.container
|
|
|
|
%ul.main_menu
|
2012-10-02 19:42:15 +02:00
|
|
|
= nav_link(path: 'groups#show', html_options: {class: 'home'}) do
|
2013-01-31 10:22:06 +01:00
|
|
|
= link_to group_path(@group), title: "Home" do
|
|
|
|
%i.icon-home
|
2012-10-02 19:42:15 +02:00
|
|
|
= nav_link(path: 'groups#issues') do
|
|
|
|
= link_to issues_group_path(@group) do
|
2012-10-02 18:37:53 +02:00
|
|
|
Issues
|
2012-10-04 09:51:35 +02:00
|
|
|
%span.count= current_user.assigned_issues.opened.of_group(@group).count
|
2012-10-02 19:42:15 +02:00
|
|
|
= nav_link(path: 'groups#merge_requests') do
|
|
|
|
= link_to merge_requests_group_path(@group) do
|
2012-10-02 18:37:53 +02:00
|
|
|
Merge Requests
|
2012-12-24 20:27:12 +01:00
|
|
|
%span.count= current_user.cared_merge_requests.opened.of_group(@group).count
|
2012-10-02 19:42:15 +02:00
|
|
|
= nav_link(path: 'groups#people') do
|
|
|
|
= link_to "People", people_group_path(@group)
|
2012-10-02 18:37:53 +02:00
|
|
|
|
2013-02-01 18:04:11 +01:00
|
|
|
- if can?(current_user, :manage_group, @group)
|
|
|
|
= nav_link(path: 'groups#edit') do
|
|
|
|
= link_to edit_group_path(@group), class: "tab " do
|
2013-03-14 10:31:33 +01:00
|
|
|
Settings
|
2013-02-01 18:04:11 +01:00
|
|
|
|
2012-10-02 18:37:53 +02:00
|
|
|
.content= yield
|