Event option on dropdown

main
Bob Mottram 2020-08-22 11:21:06 +01:00
parent 3693850be3
commit 17f41ad713
26 changed files with 53 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -256,5 +256,7 @@
"Solidaric": "تضامن", "Solidaric": "تضامن",
"YouTube Replacement Domain": "استبدال نطاق يوتيوب", "YouTube Replacement Domain": "استبدال نطاق يوتيوب",
"Notes": "ملاحظات", "Notes": "ملاحظات",
"Allow replies.": "السماح بالردود." "Allow replies.": "السماح بالردود.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Solidaritat", "Solidaric": "Solidaritat",
"YouTube Replacement Domain": "Domini de substitució de YouTube", "YouTube Replacement Domain": "Domini de substitució de YouTube",
"Notes": "Notes", "Notes": "Notes",
"Allow replies.": "Permetre respostes." "Allow replies.": "Permetre respostes.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Undod", "Solidaric": "Undod",
"YouTube Replacement Domain": "Parth Amnewid YouTube", "YouTube Replacement Domain": "Parth Amnewid YouTube",
"Notes": "Nodiadau", "Notes": "Nodiadau",
"Allow replies.": "Caniatáu atebion." "Allow replies.": "Caniatáu atebion.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Solidarität", "Solidaric": "Solidarität",
"YouTube Replacement Domain": "YouTube-Ersatzdomain", "YouTube Replacement Domain": "YouTube-Ersatzdomain",
"Notes": "Anmerkungen", "Notes": "Anmerkungen",
"Allow replies.": "Antworten zulassen." "Allow replies.": "Antworten zulassen.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Solidaric", "Solidaric": "Solidaric",
"YouTube Replacement Domain": "YouTube Replacement Domain", "YouTube Replacement Domain": "YouTube Replacement Domain",
"Notes": "Notes", "Notes": "Notes",
"Allow replies.": "Allow replies." "Allow replies.": "Allow replies.",
"Event": "Event",
"Create an event": "Create an event"
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Solidaridad", "Solidaric": "Solidaridad",
"YouTube Replacement Domain": "Dominio de reemplazo de YouTube", "YouTube Replacement Domain": "Dominio de reemplazo de YouTube",
"Notes": "Notas", "Notes": "Notas",
"Allow replies.": "Permitir respuestas." "Allow replies.": "Permitir respuestas.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Solidarité", "Solidaric": "Solidarité",
"YouTube Replacement Domain": "Domaine de remplacement YouTube", "YouTube Replacement Domain": "Domaine de remplacement YouTube",
"Notes": "Remarques", "Notes": "Remarques",
"Allow replies.": "Autoriser les réponses." "Allow replies.": "Autoriser les réponses.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Dlúthpháirtíocht", "Solidaric": "Dlúthpháirtíocht",
"YouTube Replacement Domain": "Fearann Athsholáthair YouTube", "YouTube Replacement Domain": "Fearann Athsholáthair YouTube",
"Notes": "Nótaí", "Notes": "Nótaí",
"Allow replies.": "Ceadaigh freagraí." "Allow replies.": "Ceadaigh freagraí.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "एकजुटता", "Solidaric": "एकजुटता",
"YouTube Replacement Domain": "YouTube रिप्लेसमेंट डोमेन", "YouTube Replacement Domain": "YouTube रिप्लेसमेंट डोमेन",
"Notes": "टिप्पणियाँ", "Notes": "टिप्पणियाँ",
"Allow replies.": "जवाब दें।" "Allow replies.": "जवाब दें।",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Solidarietà", "Solidaric": "Solidarietà",
"YouTube Replacement Domain": "Dominio sostitutivo di YouTube", "YouTube Replacement Domain": "Dominio sostitutivo di YouTube",
"Notes": "Appunti", "Notes": "Appunti",
"Allow replies.": "Consenti risposte." "Allow replies.": "Consenti risposte.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "連帯", "Solidaric": "連帯",
"YouTube Replacement Domain": "YouTube交換ドメイン", "YouTube Replacement Domain": "YouTube交換ドメイン",
"Notes": "ノート", "Notes": "ノート",
"Allow replies.": "返信を許可します。" "Allow replies.": "返信を許可します。",
"Event": "",
"Create an event": ""
} }

View File

@ -252,5 +252,7 @@
"Solidaric": "Solidaric", "Solidaric": "Solidaric",
"YouTube Replacement Domain": "YouTube Replacement Domain", "YouTube Replacement Domain": "YouTube Replacement Domain",
"Notes": "Notes", "Notes": "Notes",
"Allow replies.": "Allow replies." "Allow replies.": "Allow replies.",
"Event": "Event",
"Create an event": "Create an event"
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "Solidariedade", "Solidaric": "Solidariedade",
"YouTube Replacement Domain": "Domínio de substituição do YouTube", "YouTube Replacement Domain": "Domínio de substituição do YouTube",
"Notes": "Notas", "Notes": "Notas",
"Allow replies.": "Permitir respostas." "Allow replies.": "Permitir respostas.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "солидарность", "Solidaric": "солидарность",
"YouTube Replacement Domain": "Запасной домен YouTube", "YouTube Replacement Domain": "Запасной домен YouTube",
"Notes": "Ноты", "Notes": "Ноты",
"Allow replies.": "Разрешить ответы." "Allow replies.": "Разрешить ответы.",
"Event": "",
"Create an event": ""
} }

View File

@ -256,5 +256,7 @@
"Solidaric": "团结互助", "Solidaric": "团结互助",
"YouTube Replacement Domain": "YouTube替换域", "YouTube Replacement Domain": "YouTube替换域",
"Notes": "笔记", "Notes": "笔记",
"Allow replies.": "允许回复。" "Allow replies.": "允许回复。",
"Event": "",
"Create an event": ""
} }

View File

@ -2098,6 +2098,7 @@ def htmlNewPost(mediaInstance: bool, translate: {},
dropdownUnlistedSuffix = '/newunlisted' dropdownUnlistedSuffix = '/newunlisted'
dropdownFollowersSuffix = '/newfollowers' dropdownFollowersSuffix = '/newfollowers'
dropdownDMSuffix = '/newdm' dropdownDMSuffix = '/newdm'
dropdownEventSuffix = '/newevent'
dropdownReminderSuffix = '/newreminder' dropdownReminderSuffix = '/newreminder'
dropdownReportSuffix = '/newreport' dropdownReportSuffix = '/newreport'
if inReplyTo or mentions: if inReplyTo or mentions:
@ -2106,6 +2107,7 @@ def htmlNewPost(mediaInstance: bool, translate: {},
dropdownUnlistedSuffix = '' dropdownUnlistedSuffix = ''
dropdownFollowersSuffix = '' dropdownFollowersSuffix = ''
dropdownDMSuffix = '' dropdownDMSuffix = ''
dropdownEventSuffix = ''
dropdownReminderSuffix = '' dropdownReminderSuffix = ''
dropdownReportSuffix = '' dropdownReportSuffix = ''
if inReplyTo: if inReplyTo:
@ -2181,6 +2183,12 @@ def htmlNewPost(mediaInstance: bool, translate: {},
iconsDir + '/scope_reminder.png"/><b>' + translate['Reminder'] + \ iconsDir + '/scope_reminder.png"/><b>' + translate['Reminder'] + \
'</b><br>' + translate['Scheduled note to yourself'] + \ '</b><br>' + translate['Scheduled note to yourself'] + \
'</li></a>\n' '</li></a>\n'
dropDownContent += " " \
'<a href="' + pathBase + dropdownEventSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir + '/scope_event.png"/><b>' + translate['Event'] + \
'</b><br>' + translate['Create an event'] + \
'</li></a>\n'
dropDownContent += " " \ dropDownContent += " " \
'<a href="' + pathBase + dropdownReportSuffix + \ '<a href="' + pathBase + dropdownReportSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + iconsDir + \ '"><li><img loading="lazy" alt="" title="" src="/' + iconsDir + \