debian-mirror-gitlab/app/views/dashboard/projects/index.html.haml

27 lines
1.1 KiB
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- @hide_top_links = true
2015-09-25 12:07:36 +05:30
= content_for :meta_tags do
2017-08-17 22:00:37 +05:30
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
2015-09-25 12:07:36 +05:30
2020-10-24 23:57:45 +05:30
- if show_customize_homepage_banner?(@customize_homepage)
= content_for :customize_homepage_banner do
2020-11-24 15:15:51 +05:30
.gl-display-none.gl-display-md-block{ class: "gl-pt-6! gl-pb-2! #{(container_class unless @no_container)} #{@content_class}" }
2020-10-24 23:57:45 +05:30
.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,
2020-11-24 15:15:51 +05:30
callouts_feature_id: UserCalloutsHelper::CUSTOMIZE_HOMEPAGE,
track_label: 'home_page' } }
2020-10-24 23:57:45 +05:30
2019-07-07 11:18:12 +05:30
= render_dashboard_gold_trial(current_user)
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
- page_title _("Projects")
- header_title _("Projects"), dashboard_projects_path
2015-09-25 12:07:36 +05:30
2019-12-04 20:38:33 +05:30
= 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"