2019-01-21 15:52:53 -05:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2020-11-18 19:09:41 -05:00
|
|
|
- page_itemtype 'https://schema.org/Organization'
|
2020-11-23 22:09:18 -05:00
|
|
|
- @skip_current_level_breadcrumb = true
|
2016-01-13 10:26:40 -05:00
|
|
|
|
2020-10-28 11:08:49 -04:00
|
|
|
- if show_thanks_for_purchase_banner?
|
|
|
|
= render_if_exists 'shared/thanks_for_purchase_banner', plan_title: plan_title, quantity: params[:purchased_quantity].to_i
|
|
|
|
|
2020-09-03 23:08:22 -04:00
|
|
|
- if show_invite_banner?(@group)
|
|
|
|
= content_for :group_invite_members_banner do
|
|
|
|
.container-fluid.container-limited{ class: "gl-pb-2! gl-pt-6! #{@content_class}" }
|
|
|
|
.js-group-invite-members-banner{ data: { svg_path: image_path('illustrations/merge_requests.svg'),
|
2020-09-10 08:08:54 -04:00
|
|
|
is_dismissed_key: "invite_#{@group.id}_#{current_user.id}",
|
2020-09-16 11:09:32 -04:00
|
|
|
track_label: 'invite_members_banner',
|
2020-09-03 23:08:22 -04:00
|
|
|
invite_members_path: group_group_members_path(@group) } }
|
2021-05-10 14:10:41 -04:00
|
|
|
= render 'groups/invite_members_modal', group: @group
|
2020-09-03 23:08:22 -04:00
|
|
|
|
2015-04-21 10:31:40 -04:00
|
|
|
= content_for :meta_tags do
|
2017-02-28 15:50:57 -05:00
|
|
|
= auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity")
|
2015-04-21 10:31:40 -04:00
|
|
|
|
2020-05-11 11:09:37 -04:00
|
|
|
= render partial: 'flash_messages'
|
|
|
|
|
2020-09-04 08:08:27 -04:00
|
|
|
= render_if_exists 'trials/banner', namespace: @group
|
|
|
|
|
|
|
|
= render 'groups/home_panel'
|
|
|
|
|
|
|
|
= render_if_exists 'groups/self_or_ancestor_marked_for_deletion_notice', group: @group
|
|
|
|
|
|
|
|
= render_if_exists 'groups/group_activity_analytics', group: @group
|
|
|
|
|
2021-01-19 13:11:04 -05:00
|
|
|
= render 'groups/invite_members_modal', group: @group
|
2020-09-28 11:09:44 -04:00
|
|
|
|
2020-09-04 08:08:27 -04:00
|
|
|
.groups-listing{ data: { endpoints: { default: group_children_path(@group, format: :json), shared: group_shared_projects_path(@group, format: :json) } } }
|
|
|
|
.top-area.group-nav-container.justify-content-between
|
|
|
|
.scrolling-tabs-container.inner-page-scroll-tabs
|
|
|
|
.fade-left= sprite_icon('chevron-lg-left', size: 12)
|
|
|
|
.fade-right= sprite_icon('chevron-lg-right', size: 12)
|
|
|
|
%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
|