summaryrefslogtreecommitdiff
path: root/app/views/projects/buttons
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-18 12:18:35 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-18 12:18:35 +0200
commit5c4bb6df0decccc24b0c41083cf6822e5846e2d9 (patch)
treebe351b11b406a61b3c42138e75886a9818bc711f /app/views/projects/buttons
parentb8f5e7427f7cbcdb19dcc5554301e87a880cfe2a (diff)
parent38785046f7ec7d834e22add66e4be88f6e985355 (diff)
downloadgitlab-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.haml2
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