help text in sidebar
[phinde.git] / data / templates / search / sidebar.htm
index 9e36312c11480b9c92bf0bece00ec4e228165955..9247f36889d97ba42a0a6dab8114383160af3bfb 100644 (file)
@@ -1,3 +1,12 @@
+{% if hitcount > 1 %}
+ Sort by:
+<div class="btn-group">
+ <a class="btn{%if sort=="score"%} disabled btn-primary{%endif%}" href="{{urlSorts.score}}">Relevance</a>
+ <a class="btn{%if sort=="date"%} disabled btn-primary{%endif%}" href="{{urlSorts.date}}">Date</a>
+</div>
+<br/>
+<br/>
+{% endif %}
 {% set filters %}
  {% include 'search/sidebar-filter.htm' with {'type': 'tags', 'title': 'Tag'} %}
  {% include 'search/sidebar-filter.htm' with {'type': 'domain', 'title': 'Domain'} %}
@@ -14,3 +23,7 @@
 <p class="muted">
  Query took {{queryTime}}.
 </p>
+
+{% if sidebarinclude %}
+  {% include sidebarinclude %}
+{% endif %}