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 += \ '