index.html.haml 762 字节
Newer Older
1
- @hide_top_links = true
2 3 4
- page_title    "Groups"
- header_title  "Groups", dashboard_groups_path

5 6
- if current_user
  = render 'dashboard/groups_head'
7 8
- else
  = render 'explore/head'
9
  = render 'nav'
10

11 12 13 14 15 16 17 18 19
- if cookies[:explore_groups_landing_dismissed] != 'true'
  .explore-groups.landing.content-block.js-explore-groups-landing.hidden
    %button.dismiss-button{ type: 'button', 'aria-label' => 'Dismiss' }= icon('times')
    .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.

20
- if params[:filter].blank? && @groups.empty?
21
  .nothing-here-block No public groups
22 23
- else
  = render 'groups'