3eedb2aede
Instead of the JS being in charge of the HTML, the HAML now handles it. The HAML can then check the cookie & show it needed. It also allows the HAML access to the paths so we don't have to pass that through. Closes #29955
19 lines
521 B
Text
19 lines
521 B
Text
= content_for :meta_tags do
|
|
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
|
|
|
|
- page_title "Projects"
|
|
- header_title "Projects", dashboard_projects_path
|
|
|
|
- unless show_user_callout?
|
|
= render 'shared/user_callout'
|
|
|
|
- if @projects.any? || params[:name]
|
|
= render 'dashboard/projects_head'
|
|
|
|
- if @last_push
|
|
= render "events/event_last_push", event: @last_push
|
|
|
|
- if @projects.any? || params[:name]
|
|
= render 'projects'
|
|
- else
|
|
= render "zero_authorized_projects"
|