File: _project_settings.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (14 lines) | stat: -rw-r--r-- 641 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- emails_disabled = project.emails_disabled?

%li
  .md:gl-flex.gl-justify-between.gl-items-center
    .gl-mb-2.md:gl-mb-0
      %span.gl-mr-2
        = notification_icon(notification_icon_level(setting, emails_disabled))

      %span
        = link_to_project(project)

    .gl-flex.gl-gap-3.gl-flex-wrap
      - if setting
        .js-vue-notification-dropdown{ data: { disabled: emails_disabled.to_s, dropdown_items: notification_dropdown_items(setting).to_json, notification_level: setting.level, help_page_path: help_page_path('user/profile/notifications.md'), project_id: project.id, container_class: 'gl-mr-3', show_label: "true" } }