gitlab-org--gitlab-foss/app/views/dashboard/projects/index.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

19 lines
537 B
Text

- @no_container = true
- @hide_top_links = true
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
= render_dashboard_gold_trial(current_user)
- page_title "Projects"
- header_title "Projects", dashboard_projects_path
%div{ class: container_class }
= render "projects/last_push"
- if show_projects?(@projects, params)
= render 'dashboard/projects_head'
= render 'nav'
= render 'projects'
- else
= render "zero_authorized_projects"