From acf61d9c48cca5ee45c3e1030841baa61f76664f Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Sat, 9 Feb 2013 02:47:01 -0500 Subject: [PATCH] actions: Add narrowing to the popover This addresses another usability problem from #470. I decided it was too confusing to have menu options for both stream and subject narrowing, so I went with the latter. (imported from commit 948fca954a265029ceb27c72ae178015d513785d) --- .../jstemplates/actions_popover_content.html | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/zephyr/jstemplates/actions_popover_content.html b/zephyr/jstemplates/actions_popover_content.html index 6a768af01c..2812d2a082 100644 --- a/zephyr/jstemplates/actions_popover_content.html +++ b/zephyr/jstemplates/actions_popover_content.html @@ -17,11 +17,28 @@ {{/if}} + + {{#if message.is_stream}} +
  • + + + Narrow to this subject on stream {{message.display_recipient}} + +
  • + {{else}} +
  • + + + Narrow to this private message conversation + +
  • + {{/if}} +
  • {{#if message.is_stream}} - Reply to stream {{message.display_recipient}} on this subject + Reply to this subject on stream {{message.display_recipient}} {{else}} Reply to this private message {{/if}}