BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
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