📦 NEW: show notifications timeline with icon in navigation

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
pull/625/head
Jonas Sulzer 2019-07-12 14:08:24 +02:00 zatwierdzone przez Cyrille Bollu
rodzic fff61b27f5
commit 050b66277d
3 zmienionych plików z 15 dodań i 10 usunięć

Wyświetl plik

@ -2,6 +2,7 @@
@include icon-black-white('emoji', 'social', 1);
@include icon-black-white('boost', 'social', 1);
@include icon-black-white('upload', 'actions', 1, true);
@include icon-black-white('notifications', 'social', 1);
.icon-boosted {
@include icon-color('boost', 'social', '#0082c9', 1);

Wyświetl plik

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" viewBox="0 0 16 16">
<path d="m8 2c-0.5523 0-1 0.4477-1 1 0 0.0472 0.021 0.0873 0.0273 0.1328-1.7366 0.4362-3.0273 1.9953-3.0273 3.8672v2l-1 1v1h10v-1l-1-1v-2c0-1.8719-1.291-3.431-3.0273-3.8672 0.0063-0.0455 0.0273-0.0856 0.0273-0.1328 0-0.5523-0.4477-1-1-1zm-2 10c0 1.1046 0.8954 2 2 2s2-0.8954 2-2z" fill="#000"/>
</svg>

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 456 B

Wyświetl plik

@ -136,16 +136,16 @@ export default {
icon: 'icon-comment',
text: t('social', 'Direct messages')
},
// {
// id: 'social-notifications',
// classes: [],
// router: {
// name: 'timeline',
// params: { type: 'notifications' }
// },
// icon: 'icon-comment',
// text: t('social', 'Notifications')
// },
{
id: 'social-notifications',
classes: [],
router: {
name: 'timeline',
params: { type: 'notifications' }
},
icon: 'icon-notifications',
text: t('social', 'Notifications')
},
{
id: 'social-account',
classes: [],