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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
5d444418
Commit
5d444418
authored
Jan 12, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change notification bell icon from font-awesome to gitlab svg
parent
2525513c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
app/assets/javascripts/sidebar/components/subscriptions/subscriptions.vue
...cripts/sidebar/components/subscriptions/subscriptions.vue
+10
-8
No files found.
app/assets/javascripts/sidebar/components/subscriptions/subscriptions.vue
View file @
5d444418
<
script
>
<
script
>
import
eventHub
from
'
../../event_hub
'
;
import
eventHub
from
'
../../event_hub
'
;
import
icon
from
'
../../../vue_shared/components/icon.vue
'
;
import
toggleButton
from
'
../../../vue_shared/components/toggle_button.vue
'
;
import
toggleButton
from
'
../../../vue_shared/components/toggle_button.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
icon
,
toggleButton
,
toggleButton
,
},
},
props
:
{
props
:
{
...
@@ -27,6 +29,9 @@
...
@@ -27,6 +29,9 @@
showLoadingState
()
{
showLoadingState
()
{
return
this
.
subscribed
===
null
||
this
.
loading
;
return
this
.
subscribed
===
null
||
this
.
loading
;
},
},
notificationIcon
()
{
return
this
.
subscribed
?
'
notifications
'
:
'
notifications-off
'
;
},
},
},
methods
:
{
methods
:
{
toggleSubscription
()
{
toggleSubscription
()
{
...
@@ -39,15 +44,12 @@
...
@@ -39,15 +44,12 @@
<
template
>
<
template
>
<div>
<div>
<div
class=
"sidebar-collapsed-icon"
>
<div
class=
"sidebar-collapsed-icon"
>
<i
<icon
class=
"fa"
:name=
"notificationIcon"
:class=
"
{
:size=
"16"
'fa-bell': subscribed,
'fa-bell-slash': !subscribed,
}"
aria-hidden=
"true"
aria-hidden=
"true"
>
class=
"sidebar-item-icon is-active"
</i
>
/
>
</div>
</div>
<span
class=
"issuable-header-text hide-collapsed pull-left"
>
<span
class=
"issuable-header-text hide-collapsed pull-left"
>
{{
__
(
'
Notifications
'
)
}}
{{
__
(
'
Notifications
'
)
}}
...
...
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