diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-27 15:56:43 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-07 15:02:00 +0100 |
commit | e141a1c6f14df7b83cbb24190f9786b6fc36cd49 (patch) | |
tree | 1f042c33fb651c89c945ba2ad647fb572e3c4442 /app/views/projects/buttons | |
parent | 3fd0b364ea54832a861482d609bd25d485d5ac9c (diff) | |
download | gitlab-ce-e141a1c6f14df7b83cbb24190f9786b6fc36cd49.tar.gz |
Notifications dropdown on project page now has descriptions
This is part of #12758
Diffstat (limited to 'app/views/projects/buttons')
-rw-r--r-- | app/views/projects/buttons/_notifications.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/buttons/_notifications.html.haml b/app/views/projects/buttons/_notifications.html.haml index 1d05da50581..2348ceaa92b 100644 --- a/app/views/projects/buttons/_notifications.html.haml +++ b/app/views/projects/buttons/_notifications.html.haml @@ -2,10 +2,10 @@ = form_for @notification_setting, url: namespace_project_notification_setting_path(@project.namespace.becomes(Namespace), @project), method: :patch, remote: true, html: { class: 'inline', id: 'notification-form' } do |f| = f.hidden_field :level .dropdown - %a.dropdown-new.btn.notifications-btn#notifications-button{href: '#', "data-toggle" => "dropdown"} + %button.btn.notifications-btn#notifications-button{ data: { toggle: "dropdown" }, aria: { haspopup: "true", expanded: "false" } } = icon('bell') = notification_title(@notification_setting.level) = icon('caret-down') - %ul.dropdown-menu.dropdown-menu-align-right.project-home-dropdown + %ul.dropdown-menu.dropdown-menu-no-wrap.dropdown-menu-align-right.dropdown-menu-selectable.dropdown-menu-large{ role: "menu" } - NotificationSetting.levels.each do |level| = notification_list_item(level.first, @notification_setting) |