zulip/static/js
Vinit Singh 1f54918c8a message_controls: Use a template instead of passing html as a string.
This commit adds a handlebar template for the View source/Edit message
button in message controls in the message view.

This change also fixes the broken html titles that were added in
commit fdbab54614, and adds proper
internationalization for the title text.
2020-07-27 11:05:44 -07:00
..
analytics js: Replace deprecated jQuery event handler shorthand. 2020-07-21 12:01:26 -07:00
billing js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
bundles js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
portico js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
stats js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
types js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
activity.js list_cursor: Convert list_cursor to an ES6 class ListCursor. 2020-07-26 17:00:05 -07:00
admin.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
alert_words_ui.js js: Replace deprecated $.trim method. 2020-07-22 12:20:23 -07:00
alert_words.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
archive.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
attachments_ui.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
avatar.js upload widget: Rename image upload widget delete text CSS class. 2020-07-21 16:19:21 -07:00
blueslip_stacktrace.ts eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
blueslip.js blueslip: Convert Logger to an ES6 class. 2020-07-24 16:40:42 -07:00
bot_data.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
buddy_data.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
buddy_list.js list_cursor: Convert list_cursor to an ES6 class ListCursor. 2020-07-26 17:00:05 -07:00
channel.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
click_handlers.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
color_data.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
colorspace.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
common.js js: Replace deprecated jQuery event trigger shorthand. 2020-07-21 12:01:26 -07:00
components.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
compose_actions.js js: Fix new import/order errors. 2020-07-24 13:04:07 -07:00
compose_fade.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
compose_pm_pill.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
compose_state.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
compose_ui.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
compose.js compose: Replace accidental usage of underscore for “translation”. 2020-07-26 16:08:52 -07:00
composebox_typeahead.js mobile sharing: Make emoji.js a shared ES6 module. 2020-07-26 16:07:17 -07:00
condense.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
confirm_dialog.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00
copy_and_paste.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
csrf.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
debug.js debug: Convert IterationProfiler to an ES6 class. 2020-07-24 16:32:53 -07:00
drafts.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
dropdown_list_widget.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
echo.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
emoji_picker.js mobile sharing: Make emoji.js a shared ES6 module. 2020-07-26 16:07:17 -07:00
emojisets.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
favicon.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
feature_flags.js minor: Update comment in feature_flags. 2020-05-20 13:51:54 -07:00
feedback_widget.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
fetch_status.js fetch_status: Convert FetchStatus to an ES6 class. 2020-07-26 17:00:05 -07:00
filter.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
floating_recipient_bar.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
fold_dict.ts js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
gear_menu.js js: Replace deprecated jQuery event trigger shorthand. 2020-07-21 12:01:26 -07:00
global.d.ts list_cursor: Convert list_cursor to an ES6 class ListCursor. 2020-07-26 17:00:05 -07:00
hash_util.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
hashchange.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
hbs.d.ts blueslip: Make stack trace more readable. 2019-10-31 13:47:54 -07:00
hotkey.js mobile sharing: Make emoji.js a shared ES6 module. 2020-07-26 16:07:17 -07:00
hotspots.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
huddle_data.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
i18n.js js: Remove extra consecutive spaces. 2020-07-17 14:31:25 -07:00
info_overlay.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
input_pill.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
invite.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
keydown_util.js js: Replace deprecated jQuery event handler shorthand. 2020-07-21 12:01:26 -07:00
lazy_set.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00
lightbox_canvas.js lightbox_canvas: Remove old-style window.onload handler. 2020-07-24 16:32:53 -07:00
lightbox.js js: Replace deprecated jQuery event trigger shorthand. 2020-07-21 12:01:26 -07:00
list_cursor.js list_cursor: Convert list_cursor to an ES6 class ListCursor. 2020-07-26 17:00:05 -07:00
list_render.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
list_util.js js: Replace deprecated jQuery event trigger shorthand. 2020-07-21 12:01:26 -07:00
loading.js ui: Fix loading spinner glitch. 2020-07-20 11:00:37 -07:00
local_message.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
localstorage.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
markdown_config.js refactor: Have markdown depend directly on emoji. 2020-07-26 16:50:14 -07:00
markdown.js refactor: Have markdown depend directly on emoji. 2020-07-26 16:50:14 -07:00
message_edit_history.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
message_edit.js js: Access ‘disabled’ as a property, not an attribute. 2020-07-22 12:20:23 -07:00
message_events.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
message_fetch.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
message_flags.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
message_list_data.js message view: Move live update logic of stream name to message_store. 2020-07-27 11:00:31 -07:00
message_list_view.js message_list_view: Convert MessageListView to an ES6 class. 2020-07-26 17:00:05 -07:00
message_list.js message view: Move live update logic of stream name to message_store. 2020-07-27 11:00:31 -07:00
message_live_update.js message view: Move live update logic of stream name to message_store. 2020-07-27 11:00:31 -07:00
message_scroll.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
message_store.js message view: Move live update logic of stream name to message_store. 2020-07-27 11:00:31 -07:00
message_util.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
message_viewport.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
muting_ui.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
muting.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
narrow_state.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
narrow.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
navigate.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
night_mode.js settings: Add automatic theme detection feature. 2020-06-21 01:09:01 -07:00
notifications.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
overlays.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
padded_widget.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
page_params.js static: Serve webpack bundles from the root domain. 2020-04-10 00:48:02 -07:00
panels.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
people.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
pm_conversations.js pm_conversations: Convert recent to an ES6 class RecentPrivateMessages. 2020-07-24 16:50:23 -07:00
pm_list_dom.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
pm_list.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
poll_widget.js poll_widget: Convert poll_data_holder to an ES6 class PollData. 2020-07-26 17:00:05 -07:00
popovers.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
presence.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
reactions.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
ready.js templates: Make the Loading… message more robust. 2019-09-20 10:34:44 -07:00
realm_icon.js upload widget: Rename image upload widget delete button CSS class. 2020-07-21 16:19:20 -07:00
realm_logo.js upload widget: Rename image upload widget delete button CSS class. 2020-07-21 16:19:20 -07:00
recent_senders.js recent_topics: Skip non-stream messages in update_topics_of_message_ids. 2020-07-24 10:58:21 -07:00
recent_topics.js recent_topics: Skip non-stream messages in update_topics_of_message_ids. 2020-07-24 10:58:21 -07:00
reload_state.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
reload.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
reminder.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
rendered_markdown.js js: Replace deprecated $.trim method. 2020-07-22 12:20:23 -07:00
resize.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
rows.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
rtl.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
schema.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00
scroll_bar.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
scroll_util.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
search_pill_widget.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00
search_pill.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
search_suggestion.js search_suggestion: Convert make_attacher to an ES6 class Attacher. 2020-07-24 16:56:28 -07:00
search_util.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
search.js search: Replace deprecated jQuery event trigger shorthand. 2020-07-22 12:20:23 -07:00
sent_messages.js sent_messages: Convert message_state to an ES6 class MessageState. 2020-07-24 16:56:28 -07:00
server_events_dispatch.js mobile sharing: Make emoji.js a shared ES6 module. 2020-07-26 16:07:17 -07:00
server_events.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
settings_account.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
settings_bots.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
settings_config.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
settings_data.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
settings_display.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
settings_emoji.js mobile sharing: Make emoji.js a shared ES6 module. 2020-07-26 16:07:17 -07:00
settings_exports.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
settings_invites.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
settings_linkifiers.js js: Access ‘disabled’ as a property, not an attribute. 2020-07-22 12:20:23 -07:00
settings_muting.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00
settings_notifications.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
settings_org.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
settings_panel_menu.js settings_panel_menu: Convert make_menu to an ES6 class SettingsPanelMenu. 2020-07-26 17:00:05 -07:00
settings_profile_fields.js js: Access ‘disabled’ as a property, not an attribute. 2020-07-22 12:20:23 -07:00
settings_sections.js js: Indent case clauses in switch statements. 2020-07-17 14:31:25 -07:00
settings_streams.js js: Access ‘disabled’ as a property, not an attribute. 2020-07-22 12:20:23 -07:00
settings_toggle.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
settings_ui.js js: Access ‘disabled’ as a property, not an attribute. 2020-07-22 12:20:23 -07:00
settings_user_groups.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
settings_users.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
settings.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
setup.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
spoilers.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00
starred_messages.js js: Automatically convert _.each to for…of. 2020-02-07 14:09:47 -08:00
stream_color.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
stream_create.js stream_create: Convert stream_name_error to an ES6 class. 2020-07-24 16:50:23 -07:00
stream_data.js stream_data: Convert BinaryDict to an ES6 class. 2020-07-24 16:50:23 -07:00
stream_edit.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
stream_events.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
stream_list.js list_cursor: Convert list_cursor to an ES6 class ListCursor. 2020-07-26 17:00:05 -07:00
stream_muting.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
stream_popover.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
stream_sort.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
stream_topic_history.js stream_topic_history: Convert per_stream_history to an ES6 class. 2020-07-24 16:50:23 -07:00
stream_ui_updates.js js: Access ‘disabled’ as a property, not an attribute. 2020-07-22 12:20:23 -07:00
submessage.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
subs.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
tab_bar.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
templates.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
tictactoe_widget.js tictactoe_widget: Convert tictactoe_data_holder to an ES6 class. 2020-07-24 16:58:22 -07:00
timerender.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
todo_widget.js todo_widget: Convert task_data_holder to an ES6 class TaskData. 2020-07-24 16:58:22 -07:00
top_left_corner.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
topic_generator.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
topic_list_data.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
topic_list.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
topic_zoom.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
transmit.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
tslint.json lint: Format JSON files with Prettier. 2020-07-24 09:42:56 -07:00
tutorial.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00
typeahead_helper.js mobile sharing: Make emoji.js a shared ES6 module. 2020-07-26 16:07:17 -07:00
typing_data.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
typing_events.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
typing.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
ui_init.js message_controls: Use a template instead of passing html as a string. 2020-07-27 11:05:44 -07:00
ui_report.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
ui_util.js ui_util: Fix incorrectly converted focus method call. 2020-07-21 18:26:05 -07:00
ui.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
unread_ops.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
unread_ui.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
unread.js unread: Convert unread_topic_counter to an ES6 class UnreadTopicCounter. 2020-07-24 16:50:23 -07:00
upload_widget.js upload widget: Rename image upload widget delete button CSS class. 2020-07-21 16:19:20 -07:00
upload.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
user_events.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
user_groups.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00
user_pill.js minor: Refactor set_up_typeahead_on_pills function interface. 2020-07-22 17:00:34 -07:00
user_search.js user_search: Convert user_search to an ES6 class UserSearch. 2020-07-24 16:50:23 -07:00
user_status_ui.js js: Access ‘disabled’ as a property, not an attribute. 2020-07-22 12:20:23 -07:00
user_status.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
util.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
vdom.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00
widgetize.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
zcommand.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00
zform.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
zulip.js js: Normalize strings to double quotes. 2020-07-17 14:31:24 -07:00