diff --git a/client/components/main/globalSearch.jade b/client/components/main/globalSearch.jade index 9c1704cd8..93784ace1 100644 --- a/client/components/main/globalSearch.jade +++ b/client/components/main/globalSearch.jade @@ -53,12 +53,19 @@ template(name="globalSearch") = card.getList.title else h2 Search Operators - +viewer - = '* `@`username\n' - = '* `#`label\n' - = '* `board:` or `board:`""\n' - = '* `swimlane:` or `swimlane:`""\n' - = '* `list:` or `list:`""\n' + .global-search-instructions + +viewer + = 'Searches can include the operators to refine the search. Operators are specified by writing the operator' + = 'name and value separated by a colon. An operator specification of `list:Blocked` would limit the search' + = 'to cards that are contained in a list named *Blocked*. If the value contains spaces or special characters' + = 'it most be enclosed in quotation marks (e.g. `list:"To Review"`).\n' + = 'Available operators are:\n' + = '* `board` - searches for cards in boards with the specified title\n' + = '* `list` - searches for cards in lists with the specified title\n' + = '* `swimlane` - searches for cards in swimlanes with the specified title\n' + = '* `label` - searches for cards that have a label with the given color or name\n' + = '* `user` - cards where the given username is a member or assignee\n' + template(name="globalSearchViewChangePopup") ul.pop-over-list diff --git a/client/components/main/globalSearch.styl b/client/components/main/globalSearch.styl index 7afcaaa04..6fca2b34e 100644 --- a/client/components/main/globalSearch.styl +++ b/client/components/main/globalSearch.styl @@ -70,3 +70,10 @@ .global-search-error-messages color: darkred + +.global-search-operator + font-family: Courier + +.global-search-value + font-family: Courier + font-style: italic