mirror of https://gitlab.com/bashrc2/epicyon
Check path
parent
1eac0134fc
commit
69531c89d9
|
@ -1925,7 +1925,7 @@ def htmlNewPost(mediaInstance: bool, translate: {},
|
|||
pathBase = pathBase.replace('/newfollowers', '').replace('/newdm', '')
|
||||
|
||||
newPostImageSection = ' <div class="container">'
|
||||
if endpoint != 'newevent':
|
||||
if not path.endswith('/newevent'):
|
||||
newPostImageSection += \
|
||||
' <label class="labels">' + \
|
||||
translate['Image description'] + '</label>\n'
|
||||
|
|
Loading…
Reference in New Issue