diff --git a/webapp_create_post.py b/webapp_create_post.py index 5641d708..00b68420 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -187,7 +187,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, if not path.endswith('/newreport'): if not inReplyTo or path.endswith('/newreminder'): newPostText = '

' + \ - translate['Ask about a shared item.'] + '

\n' + translate['Write your post text below.'] + '\n' else: newPostText = \ '

' + \ @@ -246,11 +246,6 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, translate['Enter the choices for your question below.'] + \ '\n' - if shareDescription: - newPostText = '

' + \ - translate['Write your post text below.'] + '

\n' - - if os.path.isfile(baseDir + '/accounts/newpost.txt'): with open(baseDir + '/accounts/newpost.txt', 'r') as file: newPostText = \ @@ -298,8 +293,11 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, scopeIcon = 'scope_public.png' scopeDescription = translate['Public'] - placeholderSubject = \ - translate['Subject or Content Warning (optional)'] + '...' + if shareDescription: + placeholderSubject = translate['Ask about a shared item.'] + '..' + else: + placeholderSubject = \ + translate['Subject or Content Warning (optional)'] + '...' placeholderMentions = '' if inReplyTo: # mentionsAndContent = getMentionsString(content)