gitlab-org--gitlab-foss/app/views/explore/projects/starred.html.haml
Luke Bennett 4424a30fe1
Refactor dashboard gold trial callouts
Uses new gold trial helper method to
render a gold trial callout on user dashboards.
2019-03-06 12:11:59 +00:00

13 lines
318 B
Text

- @hide_top_links = true
- page_title _("Projects")
- header_title _("Projects"), dashboard_projects_path
= render_dashboard_gold_trial(current_user)
- if current_user
= render 'dashboard/projects_head'
- else
= render 'explore/head'
= render 'explore/projects/nav'
= render 'projects', projects: @projects