mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 23:45:45 +01:00
removed 2 titles
This commit is contained in:
@@ -30,9 +30,7 @@
|
|||||||
"flag_success": "This post has been flagged for moderation.",
|
"flag_success": "This post has been flagged for moderation.",
|
||||||
"deleted_message": "This thread has been deleted. Only users with thread management privileges can see it.",
|
"deleted_message": "This thread has been deleted. Only users with thread management privileges can see it.",
|
||||||
|
|
||||||
"following_topic.title": "Following Topic",
|
|
||||||
"following_topic.message": "You will now be receiving notifications when somebody posts to this topic.",
|
"following_topic.message": "You will now be receiving notifications when somebody posts to this topic.",
|
||||||
"not_following_topic.title": "Not Following Topic",
|
|
||||||
"not_following_topic.message": "You will no longer receive notifications from this topic.",
|
"not_following_topic.message": "You will no longer receive notifications from this topic.",
|
||||||
|
|
||||||
"login_to_subscribe": "Please register or log in in order to subscribe to this topic.",
|
"login_to_subscribe": "Please register or log in in order to subscribe to this topic.",
|
||||||
|
|||||||
@@ -85,13 +85,7 @@ define(['forum/topic/fork', 'forum/topic/move'], function(fork, move) {
|
|||||||
$('.posts .follow').toggleClass('btn-success', state).attr('title', state ? 'You are currently receiving updates to this topic' : 'Be notified of new replies in this topic');
|
$('.posts .follow').toggleClass('btn-success', state).attr('title', state ? 'You are currently receiving updates to this topic' : 'Be notified of new replies in this topic');
|
||||||
|
|
||||||
if(alert) {
|
if(alert) {
|
||||||
app.alert({
|
app.alertSucces(state ? '[[topic:following_topic.message]]' : '[[topic:not_following_topic.message]]');
|
||||||
alert_id: 'topic_follow',
|
|
||||||
timeout: 2500,
|
|
||||||
title: state ? '[[topic:following_topic.title]]' : '[[topic:not_following_topic.title]]',
|
|
||||||
message: state ? '[[topic:following_topic.message]]' : '[[topic:not_following_topic.message]]',
|
|
||||||
type: 'success'
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user