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
Léo-Paul Géneau
gitlab-ce
Commits
51a62fce
Commit
51a62fce
authored
May 31, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing tests
parent
8fa8cba0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/buttons/_notifications.html.haml
app/views/projects/buttons/_notifications.html.haml
+1
-1
features/steps/project/project.rb
features/steps/project/project.rb
+1
-1
No files found.
app/views/projects/buttons/_notifications.html.haml
View file @
51a62fce
...
...
@@ -2,7 +2,7 @@
=
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
%button
.btn.notifications-btn
#notifications-button
{
data:
{
toggle:
"dropdown"
},
aria:
{
haspopup:
"true"
,
expanded:
"false"
}
}
%button
.btn.
btn-default.
notifications-btn
#notifications-button
{
data:
{
toggle:
"dropdown"
},
aria:
{
haspopup:
"true"
,
expanded:
"false"
}
}
=
icon
(
'bell'
)
=
notification_title
(
@notification_setting
.
level
)
=
icon
(
'caret-down'
)
...
...
features/steps/project/project.rb
View file @
51a62fce
...
...
@@ -126,7 +126,7 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end
step
'I click notifications drop down button'
do
click_link
'notifications-button'
find
(
'#notifications-button'
).
click
end
step
'I choose Mention setting'
do
...
...
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