summaryrefslogtreecommitdiff
path: root/app/views/dashboard/projects/index.html.haml
blob: 54a5624c6dd924e891d3bf01c8bd16eb3e637fc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- @hide_top_links = true

= content_for :meta_tags do
  = auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")

- if show_customize_homepage_banner?(@customize_homepage)
  = content_for :customize_homepage_banner do
    .d-none.d-md-block{ class: "gl-pt-6! gl-pb-2! #{(container_class unless @no_container)} #{@content_class}" }
      .js-customize-homepage-banner{ data: { svg_path: image_path('illustrations/monitoring/getting_started.svg'),
        preferences_behavior_path: profile_preferences_path(anchor: 'behavior'),
        callouts_path: user_callouts_path,
        callouts_feature_id: UserCalloutsHelper::CUSTOMIZE_HOMEPAGE } }

= render_dashboard_gold_trial(current_user)

- page_title    _("Projects")
- header_title  _("Projects"), dashboard_projects_path

= render "projects/last_push"
- if show_projects?(@projects, params)
  = render 'dashboard/projects_head'
  = render 'nav' unless Feature.enabled?(:project_list_filter_bar)
  = render 'projects'
- else
  = render "zero_authorized_projects"