From 4064a317bc967c4fd0c861e4ceda42939a5b50cb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 25 Jun 2020 23:15:01 +0100 Subject: [PATCH] Link scope --- webinterface.py | 54 ++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/webinterface.py b/webinterface.py index 26ecfdd1..938a556c 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1910,15 +1910,15 @@ def htmlNewPost(mediaInstance: bool, translate: {}, questionOptionOnDropdown = '' if not replyStr: shareOptionOnDropdown = \ - '
  • ' + translate['Shares'] + \ - '
    ' + translate['Describe a shared item'] + '
  • \n' + '
    ' + translate['Describe a shared item'] + '\n' questionOptionOnDropdown = \ - '
  • ' + translate['Question'] + \ - '
    ' + translate['Ask a question'] + '
  • \n' + '
    ' + translate['Ask a question'] + '\n' mentionsStr = '' for m in mentions: @@ -1991,47 +1991,47 @@ def htmlNewPost(mediaInstance: bool, translate: {}, dropDownContent += "class='dropdown-menutoggle'>\n" if showPublicOnDropdown: - dropDownContent += "
  • " \ + dropDownContent += " " \ '
  • ' + \ translate['Public'] + '
    ' + \ - translate['Visible to anyone'] + '
  • \n' - dropDownContent += "
  • " \ + translate['Visible to anyone'] + '
  • \n' + dropDownContent += " " \ '
  • ' + \ translate['Blog'] + '
    ' + \ - translate['Publicly visible post'] + '
  • \n' - dropDownContent += "
  • " \ + translate['Publicly visible post'] + '
  • \n' + dropDownContent += " " \ '
  • ' + \ translate['Unlisted'] + '
    ' + \ - translate['Not on public timeline'] + '
  • \n' - dropDownContent += "
  • " \ + translate['Not on public timeline'] + '
  • \n' + dropDownContent += " " \ '
  • ' + \ translate['Followers'] + '
    ' + \ - translate['Only to followers'] + '
  • \n' - dropDownContent += "
  • " \ + translate['Only to followers'] + '
  • \n' + dropDownContent += " " \ '
  • ' + translate['DM'] + \ '
    ' + translate['Only to mentioned people'] + \ - '
  • \n' - dropDownContent += "
  • " \ + '
  • \n' + dropDownContent += " " \ '
  • ' + translate['Reminder'] + \ '
    ' + translate['Scheduled note to yourself'] + \ - '
  • \n' - dropDownContent += "
  • " \ + '
  • \n' + dropDownContent += " " \ '
  • ' + translate['Report'] + \ - '
    ' + translate['Send to moderators'] + '
  • \n' + '
    ' + translate['Send to moderators'] + '\n' dropDownContent += questionOptionOnDropdown + shareOptionOnDropdown dropDownContent += ' \n' dropDownContent += ' \n'