debian-mirror-gitlab/app/views/groups/show.html.haml

50 lines
2 KiB
Text
Raw Normal View History

2018-05-09 12:01:36 +05:30
- breadcrumb_title _("Details")
2020-07-28 23:09:34 +05:30
- page_title _("Groups")
2019-03-02 22:35:43 +05:30
- @content_class = "limit-container-width" unless fluid_layout
2015-09-11 14:41:01 +05:30
= content_for :meta_tags do
2017-08-17 22:00:37 +05:30
= auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity")
2015-09-11 14:41:01 +05:30
2020-05-24 23:13:21 +05:30
= render partial: 'flash_messages'
2019-12-04 20:38:33 +05:30
%div{ class: [("limit-container-width" unless fluid_layout)] }
2019-12-21 20:55:43 +05:30
= render_if_exists 'trials/banner', namespace: @group
2019-03-02 22:35:43 +05:30
= render 'groups/home_panel'
2020-03-13 15:44:24 +05:30
= render_if_exists 'groups/self_or_ancestor_marked_for_deletion_notice', group: @group
2020-04-08 14:13:33 +05:30
= render_if_exists 'groups/group_activity_analytics', group: @group
2019-03-02 22:35:43 +05:30
.groups-listing{ data: { endpoints: { default: group_children_path(@group, format: :json), shared: group_shared_projects_path(@group, format: :json) } } }
2019-09-04 21:01:54 +05:30
.top-area.group-nav-container.justify-content-between
2019-03-02 22:35:43 +05:30
.scrolling-tabs-container.inner-page-scroll-tabs
2020-07-28 23:09:34 +05:30
.fade-left= sprite_icon('chevron-lg-left', size: 12)
.fade-right= sprite_icon('chevron-lg-right', size: 12)
2019-03-02 22:35:43 +05:30
%ul.nav-links.scrolling-tabs.mobile-separator.nav.nav-tabs
%li.js-subgroups_and_projects-tab
= link_to group_path, data: { target: 'div#subgroups_and_projects', action: 'subgroups_and_projects', toggle: 'tab'} do
= _("Subgroups and projects")
%li.js-shared-tab
= link_to group_shared_path, data: { target: 'div#shared', action: 'shared', toggle: 'tab'} do
= _("Shared projects")
%li.js-archived-tab
= link_to group_archived_path, data: { target: 'div#archived', action: 'archived', toggle: 'tab'} do
= _("Archived projects")
.nav-controls.d-block.d-md-flex
.group-search
= render "shared/groups/search_form"
= render "shared/groups/dropdown", options_hash: subgroups_sort_options_hash
.tab-content
#subgroups_and_projects.tab-pane
= render "subgroups_and_projects", group: @group
#shared.tab-pane
= render "shared_projects", group: @group
#archived.tab-pane
= render "archived_projects", group: @group