You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/03/26 22:02:36 UTC

[02/22] git commit: [#2835] ticket:287 Sorting controls stub

[#2835] ticket:287 Sorting controls stub


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/5b1eba0e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/5b1eba0e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/5b1eba0e

Branch: refs/heads/master
Commit: 5b1eba0ec14f7e17b5db432aae54b82f6bef3f97
Parents: 86bd80f
Author: Igor Bondarenko <je...@gmail.com>
Authored: Tue Mar 5 15:21:07 2013 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Tue Mar 26 20:57:34 2013 +0000

----------------------------------------------------------------------
 .../allura/templates/widgets/search_results.html   |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/5b1eba0e/Allura/allura/templates/widgets/search_results.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/search_results.html b/Allura/allura/templates/widgets/search_results.html
index 0b1fcdf..5e66ccd 100644
--- a/Allura/allura/templates/widgets/search_results.html
+++ b/Allura/allura/templates/widgets/search_results.html
@@ -46,7 +46,11 @@
     </p>
   </div>
 {% endfor %}
-<div class="grid-19" style="clear:both">
+<div class="grid-19">
   {{widget.fields['page_list'].display(limit=limit, page=page, count=count)}}
   {{widget.fields['page_size'].display(limit=limit, count=count)}}
 </div>
+<div class="grid-19" style="clear:both">
+  {# TODO: highlight active sorting order #}
+  <p>Sort by <a href="#"><strong>relevance</strong></a> or <a href="#">date</a></p>
+</div>