874544507c
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
13 lines
321 B
Text
13 lines
321 B
Text
- @hide_top_links = true
|
|
- page_title _("Projects")
|
|
- header_title _("Projects"), dashboard_projects_path
|
|
|
|
= render_if_exists "shared/gold_trial_callout"
|
|
|
|
- if current_user
|
|
= render 'dashboard/projects_head'
|
|
- else
|
|
= render 'explore/head'
|
|
|
|
= render 'explore/projects/nav'
|
|
= render 'projects', projects: @projects
|