git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3bc2092
)
search tips in the sidebar
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 2 May 2012 21:12:32 +0000
(23:12 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 2 May 2012 21:12:32 +0000
(23:12 +0200)
data/templates/search.htm
patch
|
blob
|
history
diff --git
a/data/templates/search.htm
b/data/templates/search.htm
index cb03cecd5a4e85f24f3531c665657f3c02009f6c..51bf9827fb47e2ef44652839aa2bcb27a3cca170 100644
(file)
--- a/
data/templates/search.htm
+++ b/
data/templates/search.htm
@@
-18,3
+18,22
@@
{% endif %}
{% endblock %}
{% endif %}
{% endblock %}
+
+{% block sidebar %}
+ <h3>Search tips</h3>
+ <dl>
+ <dt>Exclusion</dt>
+ <dd><tt>+foo -bar</tt></dd>
+ <dt>Logical OR</dt>
+ <dd><tt>foo OR bar</tt></dd>
+ <dt>Quoting</dt>
+ <dd><tt>"foo bar"</tt></dd>
+ <dt>Partial words</dt>
+ <dd><tt>foo*</tt></dd>
+ <dt>Particular fields only</dt>
+ <dd><tt>description:foo</tt></dd>
+ <dd><tt>name:foo.txt</tt></dd>
+ <dd><tt>extension:rst</tt></dd>
+ <dd><tt>content:Hello</tt></dd>
+ </dl>
+{% endblock %}