summaryrefslogtreecommitdiff
path: root/app/views/profiles/notifications/_group_settings.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/notifications/_group_settings.html.haml')
-rw-r--r--app/views/profiles/notifications/_group_settings.html.haml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/profiles/notifications/_group_settings.html.haml b/app/views/profiles/notifications/_group_settings.html.haml
new file mode 100644
index 00000000000..537bba21f4a
--- /dev/null
+++ b/app/views/profiles/notifications/_group_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 group.name, group_path(group)
+
+ .pull-right
+ = render 'shared/notifications/button', notification_setting: setting