debian-mirror-gitlab/app/views/explore/groups/index.html.haml

24 lines
804 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- @hide_top_links = true
2018-11-18 11:00:15 +05:30
- page_title _("Groups")
- header_title _("Groups"), dashboard_groups_path
2015-09-25 12:07:36 +05:30
- if current_user
= render 'dashboard/groups_head'
- else
= render 'explore/head'
2017-08-17 22:00:37 +05:30
= render 'nav'
2015-09-25 12:07:36 +05:30
2017-08-17 22:00:37 +05:30
- if cookies[:explore_groups_landing_dismissed] != 'true'
2018-11-08 19:23:39 +05:30
.explore-groups.landing.content-block.js-explore-groups-landing.hide
2018-12-13 13:39:08 +05:30
%button.dismiss-button{ type: 'button', 'aria-label' => _('Dismiss') }= sprite_icon('close', size: 16)
2017-08-17 22:00:37 +05:30
.svg-container
= custom_icon('icon_explore_groups_splash')
.inner-content
2018-11-18 11:00:15 +05:30
%p= _("Below you will find all the groups that are public.")
%p= _("You can easily contribute to them by requesting to join these groups.")
2014-09-02 18:07:02 +05:30
2018-03-17 18:26:18 +05:30
- if params[:filter].blank? && @groups.empty?
2018-11-18 11:00:15 +05:30
.nothing-here-block= _("No public groups")
2018-03-17 18:26:18 +05:30
- else
= render 'groups'