From 7012efed26a08afcdb0f69b4040cb9fce92f0f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 19 Nov 2014 14:45:23 +0100 Subject: [PATCH] forms: mark forms requiring an authentication with a class (#5700) --- extra/modules/root.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/modules/root.py b/extra/modules/root.py index 5980ddc..600a595 100644 --- a/extra/modules/root.py +++ b/extra/modules/root.py @@ -1014,9 +1014,9 @@ class AlternateRootDirectory(OldRootDirectory): r += htmltext('\n') if len(formdefs) < limit: for formdef in formdefs_advertise[:limit-len(formdefs)]: - r += htmltext('
  • ') + r += htmltext('
  • ') r += htmltext('%s') % (category.url_name, formdef.url_name, formdef.name) - r += ' (%s)' % _('authentication required') + r += htmltext(' (%s)
  • ') % _('authentication required') r += htmltext('\n') if (len(formdefs)+len(formdefs_advertise)) > limit: r += htmltext('
  • %s
  • ') % (category.url_name,