mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
This focuses the body content of the informational overlay after going to it from "?" so that you can use up and down arrows to then scroll the content easily. Fixes: #4480.
91 lines
4.6 KiB
HTML
91 lines
4.6 KiB
HTML
<div class="overlay-modal hide" id="search-operators" tabindex="-1" role="dialog"
|
|
aria-labelledby="search-operators-label" aria-hidden="true">
|
|
<div class="modal-body" tabindex="1">
|
|
<table class="table table-striped table-condensed table-rounded table-bordered help-table">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ _('Operator') }}</th>
|
|
<th>{{ _('Effect') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tr>
|
|
<td class="operator">stream:<span class="operator_value">stream</span></td>
|
|
<td class="definition">{{ _('Narrow to messages on stream') }} <span class="operator_value">stream</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">topic:<span class="operator_value">topic</span></td>
|
|
<td class="definition">{{ _('Narrow to messages with topic') }} <span class="operator_value">topic</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">pm-with:<span class="operator_value">email</span></td>
|
|
<td class="definition">{{ _('Narrow to private messages with') }} <span class="operator_value">email</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">sender:<span class="operator_value">email</span></td>
|
|
<td class="definition">{{ _('Narrow to messages sent by') }} <span class="operator_value">email</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">sender:me</td>
|
|
<td class="definition">{{ _('Narrow to messages sent by you.') }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">near:<span class="operator_value">id</span></td>
|
|
<td class="definition">{{ _('Center the view around message ID') }} <span class="operator_value">id</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">id:<span class="operator_value">id</span></td>
|
|
<td class="definition">{{ _('Narrow to just message ID') }} <span class="operator_value">id</span></td>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="operator">is:alerted</td>
|
|
<td class="definition">{{ _('Narrow to messages with alert words.') }}</td>
|
|
</tr>
|
|
<td class="operator">is:mentioned</td>
|
|
<td class="definition">{{ _('Narrow to messages that mention you.') }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">is:private</td>
|
|
<td class="definition">{{ _('Narrow to private messages.') }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">is:starred</td>
|
|
<td class="definition">{{ _('Narrow to starred messages.') }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">has:link</td>
|
|
<td class="definition">{{ _('Narrow to messages containing links.') }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">has:image</td>
|
|
<td class="definition">{{ _('Narrow to messages containing images.') }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">has:attachment</td>
|
|
<td class="definition">{{ _('Narrow to messages containing uploads.') }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator"><span class="operator_value">keyword</span></td>
|
|
<td class="definition">{% trans %}Search for <span class="operator_value"> keyword </span> in the topic or message content {% endtrans %}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="operator">-topic:<span class="operator_value">topic</span></td>
|
|
<td class="definition">{% trans %}Exclude messages with topic <span class="operator_value">topic</span>{% endtrans %}</td>
|
|
</tr>
|
|
</table>
|
|
{% trans %}
|
|
<p>You can use any combination of these search operators in a single query. For example:</p>
|
|
|
|
<p> <span class="operator">stream:<span class="operator_value">streamname</span>
|
|
sender:<span class="operator_value">user@example.com</span>
|
|
<span class="operator_value">keyword</span></span></p>
|
|
|
|
<p>would search for messages sent by <span class="operator_value">user@example.com</span> to stream
|
|
<span class="operator_value">streamname</span>
|
|
containing the keyword <span class="operator_value">keyword</span>.</p>
|
|
{% endtrans %}
|
|
<hr/>
|
|
<a href="/help/search-for-messages#search-operators" target="_blank">Detailed search operators documentation</a>
|
|
</div>
|
|
</div>
|