From de24c20b83f09c6e6a20a2d612c7d1518e15dac8 Mon Sep 17 00:00:00 2001 From: Vincent Fretin Date: Sun, 28 Jun 2020 14:09:30 +0200 Subject: [PATCH] Close input tags properly in moderation.pt to avoid an error with i18ndude find-untranslated --- news/171.bugfix | 2 ++ plone/app/discussion/browser/moderation.pt | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 news/171.bugfix diff --git a/news/171.bugfix b/news/171.bugfix new file mode 100644 index 0000000..ab92f1e --- /dev/null +++ b/news/171.bugfix @@ -0,0 +1,2 @@ +Close input tags properly in moderation.pt to avoid an error with i18ndude find-untranslated +[vincentfretin] diff --git a/plone/app/discussion/browser/moderation.pt b/plone/app/discussion/browser/moderation.pt index f6d217a..f6a67ca 100644 --- a/plone/app/discussion/browser/moderation.pt +++ b/plone/app/discussion/browser/moderation.pt @@ -66,14 +66,14 @@
+ tal:attributes="checked python:request.review_state=='all'" /> + checked python:request.review_state==review_state" />
@@ -91,7 +91,7 @@ tal:condition="python: filter != 'spam'">Spam - +