From 5db4714ba850bfc829034123cccac8253002684b Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sun, 12 Apr 2015 11:30:47 -0400 Subject: [PATCH] add success message to watch / ignore category methods --- public/language/en_GB/category.json | 6 +++++- public/src/client/category.js | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/public/language/en_GB/category.json b/public/language/en_GB/category.json index 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.js index 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]]') }); }); }