diff options
author | Luke Bennett <lbennett@gitlab.com> | 2018-11-07 08:06:40 +0300 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2018-11-21 18:25:52 +0300 |
commit | 874544507cde6c079fdbc29132c1b2e01a633d73 (patch) | |
tree | 18cd891e319bdd92fc87acd82b22fedef7a3029b /app/views/explore/projects/trending.html.haml | |
parent | 7d1bc0bee8abe4bb029f96b74fd7de492219a49c (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.haml | 2 |
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 |