From 5162e2eed76eac9a128cc2ddeb19eb4336cb339b Mon Sep 17 00:00:00 2001 From: Jonathan Rehm Date: Fri, 28 Jul 2017 20:01:31 -0700 Subject: [PATCH 1/5] Add img alt attributes --- cps/templates/detail.html | 4 ++-- cps/templates/discover.html | 2 +- cps/templates/index.html | 8 ++++---- cps/templates/search.html | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 882b2ba2..2859d64c 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -5,9 +5,9 @@
{% if entry.has_cover %} - + {{ entry.title }} {% else %} - + {{ entry.title }} {% endif %}
diff --git a/cps/templates/discover.html b/cps/templates/discover.html index ff79c23b..53d73168 100644 --- a/cps/templates/discover.html +++ b/cps/templates/discover.html @@ -9,7 +9,7 @@
{% if entry.has_cover is defined %} - + {{ entry.title }} {% endif %}
diff --git a/cps/templates/index.html b/cps/templates/index.html index 72df252a..c5d156ce 100755 --- a/cps/templates/index.html +++ b/cps/templates/index.html @@ -10,9 +10,9 @@
{% if entry.has_cover %} - + {{ entry.title }} {% else %} - + {{ entry.title }} {% endif %}
@@ -46,9 +46,9 @@
{% if entry.has_cover %} - + {{ entry.title }} {% else %} - + {{ entry.title }} {% endif %}
diff --git a/cps/templates/search.html b/cps/templates/search.html index 3f705c47..f320d393 100644 --- a/cps/templates/search.html +++ b/cps/templates/search.html @@ -16,7 +16,7 @@
{% if entry.has_cover is defined %} - + {{ entry.title }} {% endif %}
From c86fa268c29a83fcd9a47eaf66f73d603b636458 Mon Sep 17 00:00:00 2001 From: Jonathan Rehm Date: Fri, 28 Jul 2017 20:02:53 -0700 Subject: [PATCH 2/5] Fix/remove duplicate id's --- cps/templates/detail.html | 10 +++++----- cps/templates/index.html | 4 ++-- cps/templates/search_form.html | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 2859d64c..500d47f1 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -17,7 +17,7 @@ {% if g.user.role_download() %}
{% if entry.data|length < 3 %} - {% for format in entry.data %} @@ -44,11 +44,11 @@ {% endif %} {% if (g.user.role_download() and g.user.is_anonymous()) or g.user.is_authenticated %}
- -