summaryrefslogtreecommitdiff
path: root/app/views/settings/notifications/_project_settings.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings/notifications/_project_settings.html.haml')
-rw-r--r--app/views/settings/notifications/_project_settings.html.haml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/settings/notifications/_project_settings.html.haml b/app/views/settings/notifications/_project_settings.html.haml
new file mode 100644
index 00000000000..823fec3fab4
--- /dev/null
+++ b/app/views/settings/notifications/_project_settings.html.haml
@@ -0,0 +1,12 @@
+%li.notification-list-item
+ %span.notification.fa.fa-holder.append-right-5
+ - if setting.global?
+ = notification_icon(current_user.global_notification_setting.level)
+ - else
+ = notification_icon(setting.level)
+
+ %span.str-truncated
+ = link_to_project(project)
+
+ .float-right
+ = render 'shared/notifications/button', notification_setting: setting