2013-12-02 22:51:03 +01:00
|
|
|
|
<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>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<h3 id="search-operators-label">{{ _('Search help') }}</h3>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<table class="table table-striped table-condensed table-rounded table-bordered" id="fmt_help_table">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<th>{{ _('Operator') }}</th>
|
|
|
|
|
<th>{{ _('Effect') }}</th>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">stream:<span class="operator_value">stream</span></td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to messages on stream') }} <span class="operator_value">stream</span></td>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">topic:<span class="operator_value">topic</span></td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to messages with topic') }} <span class="operator_value">topic</span></td>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">pm-with:<span class="operator_value">email</span></td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to private messages with') }} <span class="operator_value">email</span></td>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</tr>
|
2013-12-05 17:47:28 +01:00
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">sender:<span class="operator_value">email</span></td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to messages sent by') }} <span class="operator_value">email</span></td>
|
2013-12-05 17:47:28 +01:00
|
|
|
|
</tr>
|
2013-12-05 18:10:43 +01:00
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">sender:me</td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to messages sent by you') }}.</td>
|
2013-12-05 18:10:43 +01:00
|
|
|
|
</tr>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">near:<span class="operator_value">id</span></td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Center the view around message ID') }} <span class="operator_value">id</span></td>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">id:<span class="operator_value">id</span></td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to just message ID') }} <span class="operator_value">id</span></td>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2014-02-19 18:11:32 +01:00
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">is:alerted</td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to messages with alert words') }}.</td>
|
2014-02-19 18:11:32 +01:00
|
|
|
|
</tr>
|
2013-12-05 17:51:31 +01:00
|
|
|
|
<td class="operator">is:mentioned</td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to messages that mention you') }}.</td>
|
2013-12-05 17:51:31 +01:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">is:private</td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to private messages') }}.</td>
|
2013-12-05 17:51:31 +01:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">is:starred</td>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<td class="definition">{{ _('Narrow to starred messages') }}.</td>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</tr>
|
2016-09-28 05:22:17 +02:00
|
|
|
|
<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>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator"><span class="operator_value">keyword</span></td>
|
2016-10-13 13:16:07 +02:00
|
|
|
|
<td class="definition">{% trans %}Search for <span class="operator_value"> keyword </span> in the topic or message content {% endtrans %}</td>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</tr>
|
2014-03-04 23:43:29 +01:00
|
|
|
|
<tr>
|
|
|
|
|
<td class="operator">-topic:<span class="operator_value">topic</span></td>
|
2016-10-13 13:16:07 +02:00
|
|
|
|
<td class="definition">{% trans %}Exclude messages with topic <span class="operator_value">topic</span>{% endtrans %}</td>
|
2014-03-04 23:43:29 +01:00
|
|
|
|
</tr>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</table>
|
2016-10-13 13:16:07 +02:00
|
|
|
|
{% trans %}
|
|
|
|
|
<p>You can use any combination of these search operators in a single query. For example:</p>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
2016-10-13 13:16:07 +02:00
|
|
|
|
<p>would search for messages sent by <span class="operator_value">user@example.com</span> to stream
|
2013-12-02 22:51:03 +01:00
|
|
|
|
<span class="operator_value">streamname</span>
|
2016-10-13 13:16:07 +02:00
|
|
|
|
containing the keyword <span class="operator_value">keyword</span>.</p>
|
|
|
|
|
{% endtrans %}
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">{{ _('Close') }}</button>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|