From 6ebd4825060c374670603f347efc9c5a099e1f00 Mon Sep 17 00:00:00 2001 From: Dave Cranwell Date: Fri, 7 Feb 2014 11:31:31 +0000 Subject: [PATCH] fixed imbalanced tag. preventing status tag being link in choosers, where it's just a distraction --- wagtail/wagtailadmin/templates/wagtailadmin/pages/list.html | 4 ++-- .../wagtailadmin/templates/wagtailadmin/shared/header.html | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wagtail/wagtailadmin/templates/wagtailadmin/pages/list.html b/wagtail/wagtailadmin/templates/wagtailadmin/pages/list.html index 6b4ce52e4b..2a71a89908 100644 --- a/wagtail/wagtailadmin/templates/wagtailadmin/pages/list.html +++ b/wagtail/wagtailadmin/templates/wagtailadmin/pages/list.html @@ -74,7 +74,7 @@ {{ parent_page.content_type.model_class.get_verbose_name }} - {% if parent_page.live and not parent_page.is_root and 'view_live' not in hide_actions|default:'' %} + {% if not choosing and parent_page.live and not parent_page.is_root and 'view_live' not in hide_actions|default:'' %} {{ parent_page.status_string|capfirst }} {% else %} {{ parent_page.status_string|capfirst }} @@ -201,7 +201,7 @@ {% endif %} {{ page.content_type.model_class.get_verbose_name }} - {% if page.live and 'view_live' not in hide_actions|default:'' %} + {% if not choosing and page.live and 'view_live' not in hide_actions|default:'' %} {{ page.status_string }} {% else %} {{ page.status_string }} diff --git a/wagtail/wagtailadmin/templates/wagtailadmin/shared/header.html b/wagtail/wagtailadmin/templates/wagtailadmin/shared/header.html index c6a416c686..32e1a06f48 100644 --- a/wagtail/wagtailadmin/templates/wagtailadmin/shared/header.html +++ b/wagtail/wagtailadmin/templates/wagtailadmin/shared/header.html @@ -21,5 +21,6 @@ {{ add_text }} {% endif %} + \ No newline at end of file