From d5a64baf13746050bd34a57c2806cf391acf0399 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Sun, 5 Feb 2017 09:44:39 +0100 Subject: [PATCH] Bugfix name to id --- cps/templates/discover.html | 2 +- cps/templates/search.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/templates/discover.html b/cps/templates/discover.html index 51157972..c340cfc0 100644 --- a/cps/templates/discover.html +++ b/cps/templates/discover.html @@ -15,7 +15,7 @@

{{entry.title|shortentitle}}

-

{{entry.authors[0].name}}

+

{{entry.authors[0].name}}

{% if entry.ratings.__len__() > 0 %}
{% for number in range((entry.ratings[0].rating/2)|int(2)) %} diff --git a/cps/templates/search.html b/cps/templates/search.html index efdf40b9..79c86b84 100644 --- a/cps/templates/search.html +++ b/cps/templates/search.html @@ -24,7 +24,7 @@

{{entry.title|shortentitle}}

{% for author in entry.authors %} - {{author.name}} + {{author.name}} {% if not loop.last %} & {% endif %}