2015-11-03 09:37:07 +01:00
{% load i18n %}
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 >
2015-11-03 09:37:07 +01:00
< h3 id = "search-operators-label" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< th > {% trans 'Operator' %}< / th >
< th > {% trans 'Effect' %}< / th >
2013-12-02 22:51:03 +01:00
< / tr >
< / thead >
< tr >
< td class = "operator" > stream:< span class = "operator_value" > stream< / span > < / td >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans '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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans 'Narrow to messages that mention you' %}.< / td >
2013-12-05 17:51:31 +01:00
< / tr >
< tr >
< td class = "operator" > is:private< / td >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans 'Narrow to private messages' %}.< / td >
2013-12-05 17:51:31 +01:00
< / tr >
< tr >
< td class = "operator" > is:starred< / td >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans 'Narrow to starred messages' %}.< / td >
2013-12-02 22:51:03 +01:00
< / tr >
< tr >
< td class = "operator" > < span class = "operator_value" > keyword< / span > < / td >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans 'Search for' %} < span class = "operator_value" > {% trans 'keyword' %}< / span > {% trans 'in the topic or message content' %}< / 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 >
2015-11-03 09:37:07 +01:00
< td class = "definition" > {% trans 'Exclude messages with topic' %} < span class = "operator_value" > topic< / span > < / td >
2014-03-04 23:43:29 +01:00
< / tr >
2013-12-02 22:51:03 +01:00
< / table >
2015-11-03 09:37:07 +01:00
< p > {% trans 'You can use any combination of these search operators in a single query' %}. {% trans '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 >
2015-11-03 09:37:07 +01:00
< p > {% trans 'would search for messages sent by' %} < span class = "operator_value" > user@example.com< / span > {% trans 'to stream' %}
2013-12-02 22:51:03 +01:00
< span class = "operator_value" > streamname< / span >
2015-11-03 09:37:07 +01:00
{% trans 'containing the keyword' %} < span class = "operator_value" > keyword< / span > .< / p >
2013-12-02 22:51:03 +01:00
< / div >
< div class = "modal-footer" >
2015-11-03 09:37:07 +01:00
< button class = "btn btn-primary" data-dismiss = "modal" aria-hidden = "true" > {% trans 'Close' %}< / button >
2013-12-02 22:51:03 +01:00
< / div >
< / div >