diff --git a/cps/basic.py b/cps/basic.py
index 9830d6c1..b0121010 100644
--- a/cps/basic.py
+++ b/cps/basic.py
@@ -19,6 +19,7 @@
# along with this program. If not, see
{{_('No Results Found')}}
-{{_('Search Term:')}} {{adv_searchterm}}
- {% endif %} - +{{ author }} - {{entry.Books.title|shortentitle}}
- - {% endfor %} + {% if pagination.has_prev %} + « {{_('Previous')}} + {% endif %} +{{_('No Results Found')}}
+{% endif %} + +{% for entry in entries %} + {% if entry.Books.authors %} + {% set author = entry.Books.authors[0].name.replace('|',',')|shortentitle(30) %} + {% else %} + {% set author = '' %} + {% endif %} + +{{ author }} - {{entry.Books.title|shortentitle}}
+ +{% endfor %} + {% endblock %} diff --git a/cps/templates/basic_layout.html b/cps/templates/basic_layout.html index 01ffbfc0..a7f1d192 100644 --- a/cps/templates/basic_layout.html +++ b/cps/templates/basic_layout.html @@ -71,6 +71,20 @@ nav > a { height: 250px; object-fit: cover; } + +.listing { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + margin-right: 20px; +} + +.pagination { + display: flex; + justify-content: space-between; + padding: 10px 0; + height: 20px; +}