link to sandboxed from silenced and vice versa
This commit is contained in:
parent
5dc4b74fb7
commit
1d63aa14f0
|
@ -275,6 +275,13 @@ function pathToStreamRouter(path) {
|
||||||
streamObject.stream = 'qvitter/silenced.json?count=20';
|
streamObject.stream = 'qvitter/silenced.json?count=20';
|
||||||
streamObject.maxIdOrPage = 'page';
|
streamObject.maxIdOrPage = 'page';
|
||||||
streamObject.type = 'users';
|
streamObject.type = 'users';
|
||||||
|
streamObject.menu = [
|
||||||
|
{
|
||||||
|
type: 'link',
|
||||||
|
label: window.sL.sandboxedPlural,
|
||||||
|
href: window.siteInstanceURL + 'main/sandboxed'
|
||||||
|
}
|
||||||
|
];
|
||||||
return streamObject;
|
return streamObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -287,6 +294,13 @@ function pathToStreamRouter(path) {
|
||||||
streamObject.stream = 'qvitter/sandboxed.json?count=20';
|
streamObject.stream = 'qvitter/sandboxed.json?count=20';
|
||||||
streamObject.maxIdOrPage = 'page';
|
streamObject.maxIdOrPage = 'page';
|
||||||
streamObject.type = 'users';
|
streamObject.type = 'users';
|
||||||
|
streamObject.menu = [
|
||||||
|
{
|
||||||
|
type: 'link',
|
||||||
|
label: window.sL.silencedPlural,
|
||||||
|
href: window.siteInstanceURL + 'main/silenced'
|
||||||
|
}
|
||||||
|
];
|
||||||
return streamObject;
|
return streamObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -567,7 +581,7 @@ function pathToStreamRouter(path) {
|
||||||
namespace: 'qvitter',
|
namespace: 'qvitter',
|
||||||
topic: 'only_show_notifications_from_users_i_follow',
|
topic: 'only_show_notifications_from_users_i_follow',
|
||||||
label: window.sL.onlyShowNotificationsFromUsersIFollow,
|
label: window.sL.onlyShowNotificationsFromUsersIFollow,
|
||||||
callback: 'reloadCurrentStream'
|
callback: 'reloadCurrentStreamAndClearCache'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'divider'
|
type: 'divider'
|
||||||
|
@ -577,28 +591,28 @@ function pathToStreamRouter(path) {
|
||||||
namespace: 'qvitter',
|
namespace: 'qvitter',
|
||||||
topic: 'disable_notify_replies_and_mentions',
|
topic: 'disable_notify_replies_and_mentions',
|
||||||
label: window.sL.notifyRepliesAndMentions,
|
label: window.sL.notifyRepliesAndMentions,
|
||||||
callback: 'reloadCurrentStream'
|
callback: 'reloadCurrentStreamAndClearCache'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'profile-prefs-toggle',
|
type: 'profile-prefs-toggle',
|
||||||
namespace: 'qvitter',
|
namespace: 'qvitter',
|
||||||
topic: 'disable_notify_favs',
|
topic: 'disable_notify_favs',
|
||||||
label: window.sL.notifyFavs,
|
label: window.sL.notifyFavs,
|
||||||
callback: 'reloadCurrentStream'
|
callback: 'reloadCurrentStreamAndClearCache'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'profile-prefs-toggle',
|
type: 'profile-prefs-toggle',
|
||||||
namespace: 'qvitter',
|
namespace: 'qvitter',
|
||||||
topic: 'disable_notify_repeats',
|
topic: 'disable_notify_repeats',
|
||||||
label: window.sL.notifyRepeats,
|
label: window.sL.notifyRepeats,
|
||||||
callback: 'reloadCurrentStream'
|
callback: 'reloadCurrentStreamAndClearCache'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'profile-prefs-toggle',
|
type: 'profile-prefs-toggle',
|
||||||
namespace: 'qvitter',
|
namespace: 'qvitter',
|
||||||
topic: 'disable_notify_follows',
|
topic: 'disable_notify_follows',
|
||||||
label: window.sL.notifyFollows,
|
label: window.sL.notifyFollows,
|
||||||
callback: 'reloadCurrentStream'
|
callback: 'reloadCurrentStreamAndClearCache'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
streamObject.callbacks = [
|
streamObject.callbacks = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user