|
@@ -13,12 +13,14 @@
|
|
|
{% for obj_type in results %}
|
|
|
<h3 id="{{ obj_type.name|lower }}">{{ obj_type.name|bettertitle }}</h3>
|
|
|
{% include 'panel_table.html' with table=obj_type.table hide_paginator=True %}
|
|
|
- {% if obj_type.table.page.has_next %}
|
|
|
- <a href="{{ obj_type.url }}" class="btn btn-primary pull-right">
|
|
|
- <span class="fa fa-arrow-right" aria-hidden="true"></span>
|
|
|
+ <a href="{{ obj_type.url }}" class="btn btn-primary pull-right">
|
|
|
+ <span class="fa fa-arrow-right" aria-hidden="true"></span>
|
|
|
+ {% if obj_type.table.page.has_next %}
|
|
|
See all {{ obj_type.table.page.paginator.count }} results
|
|
|
- </a>
|
|
|
- {% endif %}
|
|
|
+ {% else %}
|
|
|
+ Refine search
|
|
|
+ {% endif %}
|
|
|
+ </a>
|
|
|
<div class="clearfix"></div>
|
|
|
{% endfor %}
|
|
|
</div>
|