summaryrefslogtreecommitdiff
path: root/app/views/explore/projects/index.html.haml
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2018-11-07 05:06:40 +0000
committerLuke Bennett <lbennett@gitlab.com>2018-11-21 15:25:52 +0000
commit874544507cde6c079fdbc29132c1b2e01a633d73 (patch)
tree18cd891e319bdd92fc87acd82b22fedef7a3029b /app/views/explore/projects/index.html.haml
parent7d1bc0bee8abe4bb029f96b74fd7de492219a49c (diff)
downloadgitlab-ce-874544507cde6c079fdbc29132c1b2e01a633d73.tar.gz
Promote the GitLab.com Gold trial on a users default dashboardce-6983-promote-starting-a-gitlab-com-trial
Show a dismissable callout on a users dashboard for a free trial of the GitLab.com Gold plan. Hide the callout from users who have dismissed the callout, are already on a trial or are already on the gold plan
Diffstat (limited to 'app/views/explore/projects/index.html.haml')
-rw-r--r--app/views/explore/projects/index.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/explore/projects/index.html.haml b/app/views/explore/projects/index.html.haml
index 452f390695c..d18dec7bd8e 100644
--- a/app/views/explore/projects/index.html.haml
+++ b/app/views/explore/projects/index.html.haml
@@ -2,6 +2,8 @@
- page_title _("Projects")
- header_title _("Projects"), dashboard_projects_path
+= render_if_exists "shared/gold_trial_callout"
+
- if current_user
= render 'dashboard/projects_head'
- else