Node.js based forum software built for the modern web
add success message to watch / ignore category methods
psychobunny5db4714ba850
diff --git a/public/language/en_GB/category.json b/public/language/en_GB/category.jsonindex 3e131894bd..53a0eb3bc8 100644--- a/public/language/en_GB/category.json+++ b/public/language/en_GB/category.json@@ -7,5 +7,9 @@"no_replies": "No one has replied","share_this_category": "Share this category",- "ignore": "Ignore"+ "watch": "Watch",+ "ignore": "Ignore",++ "watch.message": "You are now watching updates from this category",+ "ignore.message": "You are now ignoring updates from this category"}diff --git a/public/src/client/category.js b/public/src/client/category.jsindex a42837d851..5e64f4fc56 100644--- a/public/src/client/category.js+++ b/public/src/client/category.js@@ -73,6 +73,8 @@ define('forum/category', [$('.watch').toggleClass('hidden', command === 'watch');$('.ignore').toggleClass('hidden', command === 'ignore');++ app.alertSuccess('[[category:' + command + '.message]]')});});}