diff --git a/templates/zephyr/left-sidebar.html b/templates/zephyr/left-sidebar.html index d0457c5f85..6ff76971e8 100644 --- a/templates/zephyr/left-sidebar.html +++ b/templates/zephyr/left-sidebar.html @@ -18,7 +18,7 @@
  • All messages ()
  • Private messages ()
  • Starred messages
  • -
  • @-mentions()
  • +
  • @-mentions()
  • diff --git a/zephyr/static/js/narrow.js b/zephyr/static/js/narrow.js index ef81f1af73..6c8a1e6228 100644 --- a/zephyr/static/js/narrow.js +++ b/zephyr/static/js/narrow.js @@ -115,7 +115,7 @@ Filter.prototype = { if (!message.starred) { return false; } - } else if (operand === 'mentioned') { + } else if (operand === 'mentioned-message') { if (!message.mentioned) { return false; } @@ -258,7 +258,7 @@ exports.describe = function (operators) { return 'Narrow to all private messages'; } else if (operand === 'starred') { return 'Narrow to starred messages'; - } else if (operand === 'mentioned') { + } else if (operand === 'mentioned-message') { return 'Narrow to mentioned messages'; } break; @@ -598,7 +598,7 @@ function pick_empty_narrow_banner() { if (first_operand === "starred") { // You have no starred messages. return $("#empty_star_narrow_message"); - } else if (first_operand === "mentioned") { + } else if (first_operand === "mentioned-message") { return $("#empty_narrow_all_mentioned"); } else if (first_operand === "private-message") { // You have no private messages. diff --git a/zephyr/static/js/stream_list.js b/zephyr/static/js/stream_list.js index 4fdee124c8..be78609662 100644 --- a/zephyr/static/js/stream_list.js +++ b/zephyr/static/js/stream_list.js @@ -274,7 +274,7 @@ $(function () { } var op_is = event.filter.operands('is'); if (op_is.length !== 0) { - if (['private-message', 'starred', 'mentioned'].indexOf(op_is[0]) !== -1) { + if (['private-message', 'starred', 'mentioned-message'].indexOf(op_is[0]) !== -1) { $("#global_filters li[data-name='" + op_is[0] + "']").addClass('active-filter'); } } diff --git a/zephyr/static/js/tab_bar.js b/zephyr/static/js/tab_bar.js index ab571d41c8..5df9a86fd8 100644 --- a/zephyr/static/js/tab_bar.js +++ b/zephyr/static/js/tab_bar.js @@ -52,7 +52,7 @@ function make_tab_data() { } else if (filter.has_operand("is", "starred")) { tabs.push(make_tab("Starred", hashed)); - } else if (filter.has_operand("is", "mentioned")) { + } else if (filter.has_operand("is", "mentioned-message")) { tabs.push(make_tab("Mentions", hashed)); } else if (filter.has_operator("sender")) { var sender = filter.operands("sender")[0];