2018-03-29 08:06:49 -04:00
|
|
|
- breadcrumb_title _("Details")
|
2020-06-22 08:08:47 -04:00
|
|
|
- page_title _("Groups")
|
2019-01-21 15:52:53 -05:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2016-01-13 10:26:40 -05: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'
|
|
|
|
|
2019-09-03 05:03:35 -04:00
|
|
|
%div{ class: [("limit-container-width" unless fluid_layout)] }
|
2019-10-18 14:06:21 -04:00
|
|
|
= render_if_exists 'trials/banner', namespace: @group
|
|
|
|
|
2019-01-21 15:52:53 -05:00
|
|
|
= render 'groups/home_panel'
|
|
|
|
|
2020-01-24 10:09:00 -05:00
|
|
|
= render_if_exists 'groups/self_or_ancestor_marked_for_deletion_notice', group: @group
|
|
|
|
|
2020-03-11 05:09:48 -04:00
|
|
|
= render_if_exists 'groups/group_activity_analytics', group: @group
|
|
|
|
|
2019-01-21 15:52:53 -05:00
|
|
|
.groups-listing{ data: { endpoints: { default: group_children_path(@group, format: :json), shared: group_shared_projects_path(@group, format: :json) } } }
|
2019-06-06 10:44:13 -04:00
|
|
|
.top-area.group-nav-container.justify-content-between
|
2019-01-21 15:52:53 -05:00
|
|
|
.scrolling-tabs-container.inner-page-scroll-tabs
|
2020-06-25 08:09:00 -04:00
|
|
|
.fade-left= sprite_icon('chevron-lg-left', size: 12)
|
|
|
|
.fade-right= sprite_icon('chevron-lg-right', size: 12)
|
2019-01-21 15:52:53 -05:00
|
|
|
%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
|