From 5b1a59592fcc841fc6c3405652f201613e5ceb34 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 22 Aug 2020 17:59:45 +0100 Subject: [PATCH] Join mode has its own grouping --- webinterface.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/webinterface.py b/webinterface.py index 60a023574..75c0d7180 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2034,9 +2034,26 @@ def htmlNewPost(mediaInstance: bool, translate: {}, if endpoint != 'newshare' and \ endpoint != 'newreport' and \ endpoint != 'newquestion': - dateAndLocation = '
' + dateAndLocation = '
\n' if endpoint == 'newevent': + # event joining options + dateAndLocation += '
\n' + dateAndLocation += '\n' + dateAndLocation += '
\n' + dateAndLocation += '\n' + dateAndLocation += '
\n' + dateAndLocation += '\n' + dateAndLocation += '\n' + dateAndLocation += '
\n' + dateAndLocation += '
\n' # Event posts don't allow replies - they're just an announcement. # They also have a few more checkboxes dateAndLocation += \ @@ -2074,23 +2091,6 @@ def htmlNewPost(mediaInstance: bool, translate: {}, dateAndLocation += \ '

\n' else: - # event joining options - dateAndLocation += '
\n' - dateAndLocation += '
\n' - dateAndLocation += '\n' - dateAndLocation += '
\n' - dateAndLocation += '\n' - dateAndLocation += '
\n' - dateAndLocation += '\n' - dateAndLocation += '\n' - dateAndLocation += '
\n' dateAndLocation += '
\n' dateAndLocation += \ '