gitlab-org--gitlab-foss/app/views/explore/groups/index.html.haml

24 lines
804 B
Text
Raw Normal View History

- @hide_top_links = true
- page_title _("Groups")
- header_title _("Groups"), dashboard_groups_path
- if current_user
= render 'dashboard/groups_head'
- else
= render 'explore/head'
= render 'nav'
2017-05-02 04:05:43 -04:00
- if cookies[:explore_groups_landing_dismissed] != 'true'
2018-04-23 16:21:52 -04:00
.explore-groups.landing.content-block.js-explore-groups-landing.hide
%button.dismiss-button{ type: 'button', 'aria-label' => _('Dismiss') }= sprite_icon('close', size: 16)
2017-05-02 04:05:43 -04:00
.svg-container
= custom_icon('icon_explore_groups_splash')
.inner-content
%p= _("Below you will find all the groups that are public.")
%p= _("You can easily contribute to them by requesting to join these groups.")
2017-05-02 04:05:43 -04:00
- if params[:filter].blank? && @groups.empty?
.nothing-here-block= _("No public groups")
- else
= render 'groups'