5d785457db
- Split up SnippetsController into separate dashboard and explore sections. - Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
16 lines
452 B
Text
16 lines
452 B
Text
= content_for :meta_tags do
|
|
- if current_user
|
|
= auto_discovery_link_tag(:atom, dashboard_projects_url(format: :atom, private_token: current_user.private_token), title: "All activity")
|
|
|
|
- page_title "Projects"
|
|
- header_title "Projects", root_path
|
|
|
|
= render 'dashboard/projects_head'
|
|
|
|
- if @last_push
|
|
= render "events/event_last_push", event: @last_push
|
|
|
|
- if @projects.any?
|
|
= render 'projects'
|
|
- else
|
|
= render "zero_authorized_projects"
|