From c36b1ed58ae66e8ccc4a3cfa6511589ace9c839f Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 29 Sep 2018 15:44:42 +0200 Subject: [PATCH] Added additional ids and classes for easier testing --- cps/templates/config_view_edit.html | 2 +- cps/templates/layout.html | 4 ++-- cps/templates/user_edit.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cps/templates/config_view_edit.html b/cps/templates/config_view_edit.html index 83fb4beb..5cbf8e65 100644 --- a/cps/templates/config_view_edit.html +++ b/cps/templates/config_view_edit.html @@ -160,7 +160,7 @@
- + {{_('Back')}}
diff --git a/cps/templates/layout.html b/cps/templates/layout.html index f821c08b..8ccce35c 100644 --- a/cps/templates/layout.html +++ b/cps/templates/layout.html @@ -165,11 +165,11 @@ {% if g.user.is_authenticated or g.user.is_anonymous %} {% for shelf in g.public_shelfes %} -
  • {{shelf.name}}
  • +
  • {{shelf.name|shortentitle(40)}}
  • {% endfor %} {% for shelf in g.user.shelf %} -
  • {{shelf.name}}
  • +
  • {{shelf.name|shortentitle(40)}}
  • {% endfor %} {% if not g.user.is_anonymous %} diff --git a/cps/templates/user_edit.html b/cps/templates/user_edit.html index c3fccc40..ecf8042e 100644 --- a/cps/templates/user_edit.html +++ b/cps/templates/user_edit.html @@ -140,7 +140,7 @@ {% if g.user and g.user.role_admin() and not profile and not new_user and not content.role_anonymous() %}
    {% endif %} @@ -149,8 +149,8 @@ {% if not profile %} {{_('Back')}} - {% endif %} + {% if downloads %}