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
Tatuya Kamada
gitlab-ce
Commits
dd2ffafe
Commit
dd2ffafe
authored
Sep 14, 2015
by
Patricio Cano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added spacing to icons in Notification drop down
parent
adcae6eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/helpers/notifications_helper.rb
app/helpers/notifications_helper.rb
+4
-4
No files found.
app/helpers/notifications_helper.rb
View file @
dd2ffafe
...
@@ -18,25 +18,25 @@ module NotificationsHelper
...
@@ -18,25 +18,25 @@ module NotificationsHelper
when
Notification
::
N_DISABLED
when
Notification
::
N_DISABLED
content_tag
(
:li
)
do
content_tag
(
:li
)
do
link_to
'#'
,
class:
'update-notification'
,
data:
{
notification_level:
Notification
::
N_DISABLED
}
do
link_to
'#'
,
class:
'update-notification'
,
data:
{
notification_level:
Notification
::
N_DISABLED
}
do
icon
(
'microphone-slash'
,
text:
'Disabled'
)
icon
(
'microphone-slash
fw
'
,
text:
'Disabled'
)
end
end
end
end
when
Notification
::
N_PARTICIPATING
when
Notification
::
N_PARTICIPATING
content_tag
(
:li
)
do
content_tag
(
:li
)
do
link_to
'#'
,
class:
'update-notification'
,
data:
{
notification_level:
Notification
::
N_PARTICIPATING
}
do
link_to
'#'
,
class:
'update-notification'
,
data:
{
notification_level:
Notification
::
N_PARTICIPATING
}
do
icon
(
'volume-up'
,
text:
'Participating'
)
icon
(
'volume-up
fw
'
,
text:
'Participating'
)
end
end
end
end
when
Notification
::
N_WATCH
when
Notification
::
N_WATCH
content_tag
(
:li
)
do
content_tag
(
:li
)
do
link_to
'#'
,
class:
'update-notification'
,
data:
{
notification_level:
Notification
::
N_WATCH
}
do
link_to
'#'
,
class:
'update-notification'
,
data:
{
notification_level:
Notification
::
N_WATCH
}
do
icon
(
'globe'
,
text:
'Watch'
)
icon
(
'globe
fw
'
,
text:
'Watch'
)
end
end
end
end
when
Notification
::
N_MENTION
when
Notification
::
N_MENTION
content_tag
(
:li
)
do
content_tag
(
:li
)
do
link_to
'#'
,
class:
'update-notification'
,
data:
{
notification_level:
Notification
::
N_MENTION
}
do
link_to
'#'
,
class:
'update-notification'
,
data:
{
notification_level:
Notification
::
N_MENTION
}
do
icon
(
'at'
,
text:
'Mention'
)
icon
(
'at
fw
'
,
text:
'Mention'
)
end
end
end
end
else
else
...
...
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