summaryrefslogtreecommitdiff
path: root/app/views/explore/groups/index.html.haml
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-02 08:05:43 +0000
committerPhil Hughes <me@iamphill.com>2017-05-02 08:05:43 +0000
commit5412020762b676fdfba5991b59ebec7adc59aeca (patch)
treefe3754b7bc5dcf79e60af58bdfcede76d9e830ef /app/views/explore/groups/index.html.haml
parent54beb93ac30371c978d80b03a8e0c386ca75fdb5 (diff)
downloadgitlab-ce-5412020762b676fdfba5991b59ebec7adc59aeca.tar.gz
Better Explore Groups view
Diffstat (limited to 'app/views/explore/groups/index.html.haml')
-rw-r--r--app/views/explore/groups/index.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/explore/groups/index.html.haml b/app/views/explore/groups/index.html.haml
index bb2cd0d44c8..ffe07b217a7 100644
--- a/app/views/explore/groups/index.html.haml
+++ b/app/views/explore/groups/index.html.haml
@@ -7,6 +7,15 @@
= render 'explore/head'
= render 'nav'
+- 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.
+
- if @groups.present?
= render 'groups'
- else