Define moderation policy

merge-requests/8/head
Bob Mottram 2020-08-24 11:30:33 +01:00
parent a4db99566b
commit 01ecf7d1a3
16 changed files with 41 additions and 16 deletions

View File

@ -279,5 +279,6 @@
"Banner image": "صورة بانر",
"Maximum attendees": "الحد الأقصى للحضور",
"Ticket URL": "عنوان URL للتذكرة",
"Create a new event": "أنشئ حدثًا جديدًا"
"Create a new event": "أنشئ حدثًا جديدًا",
"Moderation policy or code of conduct": "سياسة الوسطية أو قواعد السلوك"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Imatge de pancarta",
"Maximum attendees": "Màxim dassistents",
"Ticket URL": "URL de l'entrada",
"Create a new event": "Creeu un esdeveniment nou"
"Create a new event": "Creeu un esdeveniment nou",
"Moderation policy or code of conduct": "Política de moderació o codi de conducta"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Delwedd baner",
"Maximum attendees": "Uchafswm mynychwyr",
"Ticket URL": "URL y tocyn",
"Create a new event": "Creu digwyddiad newydd"
"Create a new event": "Creu digwyddiad newydd",
"Moderation policy or code of conduct": "Polisi cymedroli neu god ymddygiad"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Bannerbild",
"Maximum attendees": "Maximale Teilnehmerzahl",
"Ticket URL": "Ticket URL",
"Create a new event": "Erstellen Sie ein neues Ereignis"
"Create a new event": "Erstellen Sie ein neues Ereignis",
"Moderation policy or code of conduct": "Moderationsrichtlinie oder Verhaltenskodex"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Banner image",
"Maximum attendees": "Maximum attendees",
"Ticket URL": "Ticket URL",
"Create a new event": "Create a new event"
"Create a new event": "Create a new event",
"Moderation policy or code of conduct": "Moderation policy or code of conduct"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Imagen de banner",
"Maximum attendees": "Asistentes máximos",
"Ticket URL": "URL del ticket",
"Create a new event": "Crea un nuevo evento"
"Create a new event": "Crea un nuevo evento",
"Moderation policy or code of conduct": "Política de moderación o código de conducta"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Image de bannière",
"Maximum attendees": "Nombre maximum de participants",
"Ticket URL": "URL du ticket",
"Create a new event": "Créer un nouvel événement"
"Create a new event": "Créer un nouvel événement",
"Moderation policy or code of conduct": "Politique de modération ou code de conduite"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Íomhá meirge",
"Maximum attendees": "Uasmhéid freastail",
"Ticket URL": "URL na dticéad",
"Create a new event": "Cruthaigh imeacht nua"
"Create a new event": "Cruthaigh imeacht nua",
"Moderation policy or code of conduct": "Beartas modhnóireachta nó cód iompair"
}

View File

@ -279,5 +279,6 @@
"Banner image": "बैनर की छवि",
"Maximum attendees": "अधिकतम उपस्थित",
"Ticket URL": "टिकट URL",
"Create a new event": "एक नई घटना बनाएँ"
"Create a new event": "एक नई घटना बनाएँ",
"Moderation policy or code of conduct": "मॉडरेशन पॉलिसी या आचार संहिता"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Immagine banner",
"Maximum attendees": "Numero massimo di partecipanti",
"Ticket URL": "URL del biglietto",
"Create a new event": "Crea un nuovo evento"
"Create a new event": "Crea un nuovo evento",
"Moderation policy or code of conduct": "Politica di moderazione o codice di condotta"
}

View File

@ -279,5 +279,6 @@
"Banner image": "バナー画像",
"Maximum attendees": "最大参加者",
"Ticket URL": "チケットURL",
"Create a new event": "新しいイベントを作成する"
"Create a new event": "新しいイベントを作成する",
"Moderation policy or code of conduct": "モデレートポリシーまたは行動規範"
}

View File

@ -275,5 +275,6 @@
"Banner image": "Banner image",
"Maximum attendees": "Maximum attendees",
"Ticket URL": "Ticket URL",
"Create a new event": "Create a new event"
"Create a new event": "Create a new event",
"Moderation policy or code of conduct": "Moderation policy or code of conduct"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Imagem de banner",
"Maximum attendees": "Máximo de participantes",
"Ticket URL": "URL do bilhete",
"Create a new event": "Crie um novo evento"
"Create a new event": "Crie um novo evento",
"Moderation policy or code of conduct": "Política de moderação ou código de conduta"
}

View File

@ -279,5 +279,6 @@
"Banner image": "Изображение баннера",
"Maximum attendees": "Максимальное количество участников",
"Ticket URL": "URL билета",
"Create a new event": "Создать новое мероприятие"
"Create a new event": "Создать новое мероприятие",
"Moderation policy or code of conduct": "Политика модерации или кодекс поведения"
}

View File

@ -279,5 +279,6 @@
"Banner image": "横幅图片",
"Maximum attendees": "参加人数上限",
"Ticket URL": "工单URL",
"Create a new event": "建立新活动"
"Create a new event": "建立新活动",
"Moderation policy or code of conduct": "审核政策或行为准则"
}

View File

@ -1838,6 +1838,7 @@ def htmlNewPost(mediaInstance: bool, translate: {},
replyStr = ''
showPublicOnDropdown = True
messageBoxHeight = 400
if not path.endswith('/newshare'):
if not path.endswith('/newreport'):
@ -2161,6 +2162,16 @@ def htmlNewPost(mediaInstance: bool, translate: {},
dateAndLocation += \
'<input type="time" name="endTime"></label>\n'
if endpoint == 'newevent':
dateAndLocation += '</div>\n'
dateAndLocation += '<div class="container">\n'
dateAndLocation += '<br><label class="labels">' + \
translate['Moderation policy or code of conduct'] + \
': </label>\n'
dateAndLocation += \
' <textarea id="message" ' + \
'name="repliesModerationOption" style="height:' + \
str(messageBoxHeight) + 'px"></textarea>\n'
dateAndLocation += '</div>\n'
dateAndLocation += '<div class="container">\n'
dateAndLocation += '<br><label class="labels">' + \
@ -2382,7 +2393,6 @@ def htmlNewPost(mediaInstance: bool, translate: {},
newPostForm += \
' <br><label class="labels">' + placeholderMessage + '</label>'
messageBoxHeight = 400
if mediaInstance:
messageBoxHeight = 200