mirror of https://github.com/zulip/zulip.git
83 lines
3.9 KiB
HTML
83 lines
3.9 KiB
HTML
{% load i18n %}
|
||
<div class="modal hide" id="search-operators" tabindex="-1" role="dialog"
|
||
aria-labelledby="search-operators-label" aria-hidden="true">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h3 id="search-operators-label">{% trans 'Search help' %}</h3>
|
||
</div>
|
||
<div class="modal-body">
|
||
<table class="table table-striped table-condensed table-rounded table-bordered" id="fmt_help_table">
|
||
<thead>
|
||
<tr>
|
||
<th>{% trans 'Operator' %}</th>
|
||
<th>{% trans 'Effect' %}</th>
|
||
</tr>
|
||
</thead>
|
||
<tr>
|
||
<td class="operator">stream:<span class="operator_value">stream</span></td>
|
||
<td class="definition">{% trans '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">{% trans '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">{% trans '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">{% trans 'Narrow to messages sent by' %} <span class="operator_value">email</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="operator">sender:me</td>
|
||
<td class="definition">{% trans 'Narrow to messages sent by you' %}.</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="operator">near:<span class="operator_value">id</span></td>
|
||
<td class="definition">{% trans '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">{% trans 'Narrow to just message ID' %} <span class="operator_value">id</span></td>
|
||
</tr>
|
||
<tr>
|
||
<tr>
|
||
<td class="operator">is:alerted</td>
|
||
<td class="definition">{% trans 'Narrow to messages with alert words' %}.</td>
|
||
</tr>
|
||
<td class="operator">is:mentioned</td>
|
||
<td class="definition">{% trans 'Narrow to messages that mention you' %}.</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="operator">is:private</td>
|
||
<td class="definition">{% trans 'Narrow to private messages' %}.</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="operator">is:starred</td>
|
||
<td class="definition">{% trans 'Narrow to starred messages' %}.</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="operator"><span class="operator_value">keyword</span></td>
|
||
<td class="definition">{% trans 'Search for' %} <span class="operator_value">{% trans 'keyword' %}</span> {% trans 'in the topic or message content' %}</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></td>
|
||
</tr>
|
||
</table>
|
||
<p>{% trans 'You can use any combination of these search operators in a single query' %}. {% trans '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>{% trans 'would search for messages sent by' %} <span class="operator_value">user@example.com</span> {% trans 'to stream' %}
|
||
<span class="operator_value">streamname</span>
|
||
{% trans 'containing the keyword' %} <span class="operator_value">keyword</span>.</p>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">{% trans 'Close' %}</button>
|
||
</div>
|
||
</div>
|