_project_settings.html.haml 529 Bytes
Newer Older
1 2 3
%li.notification-list-item
  %span.notification.fa.fa-holder.append-right-5
    - if setting.global?
4
      = notification_icon(current_user.global_notification_setting.level)
5 6 7 8 9 10 11 12 13
    - else
      = notification_icon(setting.level)

  %span.str-truncated
    = link_to_project(project)

  .pull-right
    = form_for [project.namespace.becomes(Namespace), project, setting], remote: true, html: { class: 'update-notifications' } do |f|
      = f.select :level, NotificationSetting.levels.keys, {}, class: 'form-control trigger-submit'