2016-09-29 09:46:39 +05:30
|
|
|
= render 'layouts/nav/group_settings'
|
2016-08-24 12:49:21 +05:30
|
|
|
.scrolling-tabs-container{ class: nav_control_class }
|
|
|
|
.fade-left
|
|
|
|
= icon('angle-left')
|
|
|
|
.fade-right
|
|
|
|
= icon('angle-right')
|
2016-06-16 23:09:34 +05:30
|
|
|
%ul.nav-links.scrolling-tabs
|
|
|
|
= nav_link(path: 'groups#show', html_options: {class: 'home'}) do
|
|
|
|
= link_to group_path(@group), title: 'Home' do
|
|
|
|
%span
|
|
|
|
Group
|
|
|
|
= nav_link(path: 'groups#activity') do
|
|
|
|
= link_to activity_group_path(@group), title: 'Activity' do
|
|
|
|
%span
|
|
|
|
Activity
|
2016-11-03 12:29:30 +05:30
|
|
|
= nav_link(controller: [:group, :labels]) do
|
|
|
|
= link_to group_labels_path(@group), title: 'Labels' do
|
|
|
|
%span
|
|
|
|
Labels
|
2016-06-16 23:09:34 +05:30
|
|
|
= nav_link(controller: [:group, :milestones]) do
|
|
|
|
= link_to group_milestones_path(@group), title: 'Milestones' do
|
|
|
|
%span
|
|
|
|
Milestones
|
|
|
|
= nav_link(path: 'groups#issues') do
|
|
|
|
= link_to issues_group_path(@group), title: 'Issues' do
|
|
|
|
%span
|
|
|
|
Issues
|
|
|
|
- issues = IssuesFinder.new(current_user, group_id: @group.id, state: 'opened').execute
|
|
|
|
%span.badge.count= number_with_delimiter(issues.count)
|
|
|
|
= nav_link(path: 'groups#merge_requests') do
|
|
|
|
= link_to merge_requests_group_path(@group), title: 'Merge Requests' do
|
|
|
|
%span
|
|
|
|
Merge Requests
|
|
|
|
- merge_requests = MergeRequestsFinder.new(current_user, group_id: @group.id, state: 'opened').execute
|
|
|
|
%span.badge.count= number_with_delimiter(merge_requests.count)
|
|
|
|
= nav_link(controller: [:group_members]) do
|
|
|
|
= link_to group_group_members_path(@group), title: 'Members' do
|
|
|
|
%span
|
|
|
|
Members
|