mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
closes #1046
This commit is contained in:
@@ -290,8 +290,8 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
||||
app.alert({
|
||||
alert_id: 'topic_follow',
|
||||
timeout: 2500,
|
||||
title: 'Following Topic',
|
||||
message: 'You will now be receiving notifications when somebody posts to this topic.',
|
||||
title: '[[topic:following_topic.title]]',
|
||||
message: '[[topic:following_topic.message]]',
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
@@ -302,8 +302,8 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
||||
app.alert({
|
||||
alert_id: 'topic_follow',
|
||||
timeout: 2500,
|
||||
title: 'Not Following Topic',
|
||||
message: 'You will no longer receive notifications from this topic.',
|
||||
title: '[[topic:not_following_topic.title]]',
|
||||
message: '[[topic:not_following_topic.message]]',
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
@@ -320,8 +320,8 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
||||
return app.alert({
|
||||
type: 'danger',
|
||||
alert_id: 'topic_follow',
|
||||
title: 'Please Log In',
|
||||
message: 'Please register or log in in order to subscribe to this topic',
|
||||
title: '[[global:please_log_in]]',
|
||||
message: '[[topic:login_to_subscribe]]',
|
||||
timeout: 5000
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user