Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2018-11-07 08:06:40 +0300
committerLuke Bennett <lbennett@gitlab.com>2018-11-21 18:25:52 +0300
commit874544507cde6c079fdbc29132c1b2e01a633d73 (patch)
tree18cd891e319bdd92fc87acd82b22fedef7a3029b /app/views/explore/projects/trending.html.haml
parent7d1bc0bee8abe4bb029f96b74fd7de492219a49c (diff)
Promote the GitLab.com Gold trial on a users default dashboard
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/trending.html.haml')
-rw-r--r--app/views/explore/projects/trending.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/explore/projects/trending.html.haml b/app/views/explore/projects/trending.html.haml
index 452f390695c..d18dec7bd8e 100644
--- a/app/views/explore/projects/trending.html.haml
+++ b/app/views/explore/projects/trending.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