X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=zookeeper%2Fsolr%2Fcollection1%2Fconf%2Fvelocity%2Fpagination_bottom.vm;fp=zookeeper%2Fsolr%2Fcollection1%2Fconf%2Fvelocity%2Fpagination_bottom.vm;h=71b8bdf218c557b28f9391d5df4cef9534ea6982;hp=0000000000000000000000000000000000000000;hb=df39a9c5d2f4247b0682f2c6cf0d64b22edfaadd;hpb=8373b5d73c5a09872b07edb5c23b76a7f07fd055
diff --git a/zookeeper/solr/collection1/conf/velocity/pagination_bottom.vm b/zookeeper/solr/collection1/conf/velocity/pagination_bottom.vm
new file mode 100644
index 0000000..71b8bdf
--- /dev/null
+++ b/zookeeper/solr/collection1/conf/velocity/pagination_bottom.vm
@@ -0,0 +1,22 @@
+#**
+ * Paging and Statistics at bottom of results
+ *#
+
+## Usually rendered in pagination div tag
+
+#if($response.response.get('grouped'))
+ ## pass
+#else
+
+ #link_to_previous_page("previous")
+
+ $page.results_found
+ results found.
+
+ Page $page.current_page_number
+ of $page.page_count
+
+ #link_to_next_page("next")
+
+#end
+