diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 3b71a15fd9..6261e75f91 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -2040,6 +2040,14 @@ table.floating_recipient { white-space: nowrap; } +.operator_value { + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; + color: red; +} +.operator { + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; +} + #loading_more_messages_indicator { margin: 10px; } diff --git a/templates/zerver/index.html b/templates/zerver/index.html index 95a2802b92..44c2b9e027 100644 --- a/templates/zerver/index.html +++ b/templates/zerver/index.html @@ -74,6 +74,7 @@ var page_params = {{ page_params }}; {% include "zerver/keyboard_shortcuts.html" %} + {% include "zerver/search_operators.html" %} {% include "zerver/markdown_help.html" %} {% include "zerver/invite_user.html" %} {% include "zerver/bankruptcy.html" %} diff --git a/templates/zerver/navbar.html b/templates/zerver/navbar.html index 4231dac2d1..84ddd8de7c 100644 --- a/templates/zerver/navbar.html +++ b/templates/zerver/navbar.html @@ -60,6 +60,11 @@ Message formatting +
  • + + Search operators + +
  • diff --git a/templates/zerver/search_operators.html b/templates/zerver/search_operators.html new file mode 100644 index 0000000000..45307f71e9 --- /dev/null +++ b/templates/zerver/search_operators.html @@ -0,0 +1,67 @@ +