mirror of https://github.com/zulip/zulip.git
reminders: Hide message menu reminder's option behind features_flag.
This commit is contained in:
parent
dd0e6c8025
commit
0ec50d8cc8
|
@ -14,6 +14,7 @@ exports.propagate_topic_edits = true;
|
|||
exports.clicking_notification_causes_narrow = true;
|
||||
exports.collapsible = false;
|
||||
exports.dropbox_integration = false;
|
||||
exports.reminders_in_message_action_menu = false;
|
||||
|
||||
return exports;
|
||||
|
||||
|
|
|
@ -192,6 +192,7 @@ exports.toggle_actions_popover = function (element, id) {
|
|||
conversation_time_uri: narrow.by_conversation_and_time_uri(message, true),
|
||||
narrowed: narrow_state.active(),
|
||||
should_display_delete_option: should_display_delete_option,
|
||||
should_display_reminder_option: feature_flags.reminders_in_message_action_menu,
|
||||
};
|
||||
|
||||
var ypos = elt.offset().top;
|
||||
|
|
|
@ -13,11 +13,13 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
{{#if should_display_reminder_option}}
|
||||
<li>
|
||||
<a href="#" class='reminder_button' data-message-id="{{message.id}}">
|
||||
<i class="fa fa-bell" aria-hidden="true"></i> {{t "Remind me about this" }}
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if should_display_collapse}}
|
||||
<li>
|
||||
|
|
Loading…
Reference in New Issue