Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
0a7974e5
Commit
0a7974e5
authored
Mar 30, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue with notification settings not saving
Closes #14736
parent
a9346cab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
app/views/profiles/notifications/show.html.haml
app/views/profiles/notifications/show.html.haml
+17
-16
No files found.
app/views/profiles/notifications/show.html.haml
View file @
0a7974e5
...
...
@@ -56,19 +56,20 @@
.prepend-top-default
=
f
.
submit
'Update settings'
,
class:
"btn btn-create"
%hr
%h5
Groups (
#{
@group_members
.
count
}
)
%div
%ul
.bordered-list
-
@group_members
.
each
do
|
group_member
|
-
notification
=
Notification
.
new
(
group_member
)
=
render
'settings'
,
type:
'group'
,
membership:
group_member
,
notification:
notification
%h5
Projects (
#{
@project_members
.
count
}
)
%p
.account-well
To specify the notification level per project of a group you belong to, you need to be a member of the project itself, not only its group.
.append-bottom-default
%ul
.bordered-list
-
@project_members
.
each
do
|
project_member
|
-
notification
=
Notification
.
new
(
project_member
)
=
render
'settings'
,
type:
'project'
,
membership:
project_member
,
notification:
notification
.col-lg-9.col-lg-push-3
%h5
Groups (
#{
@group_members
.
count
}
)
%div
%ul
.bordered-list
-
@group_members
.
each
do
|
group_member
|
-
notification
=
Notification
.
new
(
group_member
)
=
render
'settings'
,
type:
'group'
,
membership:
group_member
,
notification:
notification
%h5
Projects (
#{
@project_members
.
count
}
)
%p
.account-well
To specify the notification level per project of a group you belong to, you need to be a member of the project itself, not only its group.
.append-bottom-default
%ul
.bordered-list
-
@project_members
.
each
do
|
project_member
|
-
notification
=
Notification
.
new
(
project_member
)
=
render
'settings'
,
type:
'project'
,
membership:
project_member
,
notification:
notification
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment