diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-18 12:18:35 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-18 12:18:35 +0200 |
commit | 5c4bb6df0decccc24b0c41083cf6822e5846e2d9 (patch) | |
tree | be351b11b406a61b3c42138e75886a9818bc711f /app/views/projects/buttons | |
parent | b8f5e7427f7cbcdb19dcc5554301e87a880cfe2a (diff) | |
parent | 38785046f7ec7d834e22add66e4be88f6e985355 (diff) | |
download | gitlab-ce-5c4bb6df0decccc24b0c41083cf6822e5846e2d9.tar.gz |
Merge branch 'master' into grzesiek/gitlab-ce-fix/non-member-notification-button
Diffstat (limited to 'app/views/projects/buttons')
-rw-r--r-- | app/views/projects/buttons/_notifications.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/buttons/_notifications.html.haml b/app/views/projects/buttons/_notifications.html.haml index 501a51d0e8a..6a620e7c232 100644 --- a/app/views/projects/buttons/_notifications.html.haml +++ b/app/views/projects/buttons/_notifications.html.haml @@ -1,7 +1,7 @@ - return unless [@membership, @group_member].any? - if @membership - = form_tag profile_notifications_path, method: :put, remote: true, class: 'inline-form', id: 'notification-form' do + = form_tag profile_notifications_path, method: :put, remote: true, class: 'inline', id: 'notification-form' do = hidden_field_tag :notification_type, 'project' = hidden_field_tag :notification_id, @membership.id = hidden_field_tag :notification_level |