forked from indymedia/epicyon
Event status
parent
5b1a59592f
commit
878fad1e22
|
@ -5740,6 +5740,10 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
anonymousParticipationEnabled = False
|
||||
else:
|
||||
anonymousParticipationEnabled = True
|
||||
maximumAttendeeCapacity = 999999
|
||||
if fields.get('maximumAttendeeCapacity'):
|
||||
maximumAttendeeCapacity = \
|
||||
fields['maximumAttendeeCapacity']
|
||||
|
||||
messageJson = \
|
||||
createEventPost(self.server.baseDir,
|
||||
|
@ -5762,7 +5766,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
fields['joinMode'],
|
||||
fields['endDate'],
|
||||
fields['endTime'],
|
||||
fields['maximumAttendeeCapacity'],
|
||||
maximumAttendeeCapacity,
|
||||
fields['repliesModerationOption'],
|
||||
anonymousParticipationEnabled,
|
||||
fields['eventStatus'])
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "يمكن لأي شخص الانضمام",
|
||||
"Apply to join": "تقديم طلب للانضمام",
|
||||
"Invitation only": "المدعوون فقط",
|
||||
"Joining": "انضمام"
|
||||
"Joining": "انضمام",
|
||||
"Status of the event": "حالة الحدث",
|
||||
"Tentative": "مؤقت",
|
||||
"Confirmed": "تم تأكيد",
|
||||
"Cancelled": "ألغيت"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Qualsevol persona s’hi pot apuntar",
|
||||
"Apply to join": "Sol·liciteu participar",
|
||||
"Invitation only": "Només invitació",
|
||||
"Joining": "Unir-se"
|
||||
"Joining": "Unir-se",
|
||||
"Status of the event": "Estat de l’esdeveniment",
|
||||
"Tentative": "Temptatiu",
|
||||
"Confirmed": "Confirmat",
|
||||
"Cancelled": "Cancel·lat"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Gall unrhyw un ymuno",
|
||||
"Apply to join": "Gwnewch gais i ymuno",
|
||||
"Invitation only": "Gwahoddiad yn unig",
|
||||
"Joining": "Yn ymuno"
|
||||
"Joining": "Yn ymuno",
|
||||
"Status of the event": "Statws y digwyddiad",
|
||||
"Tentative": "Cynhyrfus",
|
||||
"Confirmed": "Cadarnhawyd",
|
||||
"Cancelled": "Wedi'i ganslo"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Jeder kann mitmachen",
|
||||
"Apply to join": "Sich anmelden um teilzunehmen",
|
||||
"Invitation only": "Nur Einladungen",
|
||||
"Joining": "Beitritt"
|
||||
"Joining": "Beitritt",
|
||||
"Status of the event": "Status des Ereignisses",
|
||||
"Tentative": "Vorsichtig",
|
||||
"Confirmed": "Bestätigt",
|
||||
"Cancelled": "Abgesagt"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Anyone can join",
|
||||
"Apply to join": "Apply to join",
|
||||
"Invitation only": "Invitation only",
|
||||
"Joining": "Joining"
|
||||
"Joining": "Joining",
|
||||
"Status of the event": "Status of the event",
|
||||
"Tentative": "Tentative",
|
||||
"Confirmed": "Confirmed",
|
||||
"Cancelled": "Cancelled"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Cualquiera puede unirse",
|
||||
"Apply to join": "Aplica para unirte",
|
||||
"Invitation only": "Sólo con Invitación",
|
||||
"Joining": "Unión"
|
||||
"Joining": "Unión",
|
||||
"Status of the event": "Estado del evento",
|
||||
"Tentative": "Tentativa",
|
||||
"Confirmed": "Confirmada",
|
||||
"Cancelled": "Cancelada"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Tout le monde peut joindre",
|
||||
"Apply to join": "Postuler pour rejoindre",
|
||||
"Invitation only": "Invitation uniquement",
|
||||
"Joining": "Joindre"
|
||||
"Joining": "Joindre",
|
||||
"Status of the event": "Statut de l'événement",
|
||||
"Tentative": "Provisoire",
|
||||
"Confirmed": "Confirmé",
|
||||
"Cancelled": "Annulé"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Is féidir le duine ar bith a bheith páirteach",
|
||||
"Apply to join": "Déan iarratas ar bhallraíocht",
|
||||
"Invitation only": "Cuireadh amháin",
|
||||
"Joining": "Ag teacht le chéile"
|
||||
"Joining": "Ag teacht le chéile",
|
||||
"Status of the event": "Stádas na hócáide",
|
||||
"Tentative": "Sealadach",
|
||||
"Confirmed": "Deimhnithe",
|
||||
"Cancelled": "Cealaithe"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "कोई भी शामिल हो सकता है",
|
||||
"Apply to join": "जुड़ने के लिए आवेदन करें",
|
||||
"Invitation only": "केवल आमंत्रण",
|
||||
"Joining": "में शामिल होने से"
|
||||
"Joining": "में शामिल होने से",
|
||||
"Status of the event": "घटना की स्थिति",
|
||||
"Tentative": "जांच का",
|
||||
"Confirmed": "की पुष्टि",
|
||||
"Cancelled": "रद्द"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Chiunque può partecipare",
|
||||
"Apply to join": "Richiedi di partecipare",
|
||||
"Invitation only": "Solo su invito",
|
||||
"Joining": "Partecipare"
|
||||
"Joining": "Partecipare",
|
||||
"Status of the event": "Stato dell'evento",
|
||||
"Tentative": "Tentativa",
|
||||
"Confirmed": "Confermata",
|
||||
"Cancelled": "Annullata"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "誰でも参加できます",
|
||||
"Apply to join": "参加を申し込む",
|
||||
"Invitation only": "招待のみ",
|
||||
"Joining": "接合"
|
||||
"Joining": "接合",
|
||||
"Status of the event": "イベントのステータス",
|
||||
"Tentative": "暫定の",
|
||||
"Confirmed": "確認済み",
|
||||
"Cancelled": "キャンセル"
|
||||
}
|
||||
|
|
|
@ -264,5 +264,9 @@
|
|||
"Anyone can join": "Anyone can join",
|
||||
"Apply to join": "Apply to join",
|
||||
"Invitation only": "Invitation only",
|
||||
"Joining": "Joining"
|
||||
"Joining": "Joining",
|
||||
"Status of the event": "Status of the event",
|
||||
"Tentative": "Tentative",
|
||||
"Confirmed": "Confirmed",
|
||||
"Cancelled": "Cancelled"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Qualquer um pode participar",
|
||||
"Apply to join": "Aplicar para participar",
|
||||
"Invitation only": "Somente para convidados",
|
||||
"Joining": "Juntando"
|
||||
"Joining": "Juntando",
|
||||
"Status of the event": "Status do evento",
|
||||
"Tentative": "Provisório",
|
||||
"Confirmed": "Confirmada",
|
||||
"Cancelled": "Cancelada"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "Каждый может присоединиться",
|
||||
"Apply to join": "Подать заявку на присоединение",
|
||||
"Invitation only": "Только приглашение",
|
||||
"Joining": "Присоединение"
|
||||
"Joining": "Присоединение",
|
||||
"Status of the event": "Статус мероприятия",
|
||||
"Tentative": "Предварительно",
|
||||
"Confirmed": "Подтверждено",
|
||||
"Cancelled": "Отменено"
|
||||
}
|
||||
|
|
|
@ -268,5 +268,9 @@
|
|||
"Anyone can join": "任何人都可以加入",
|
||||
"Apply to join": "申请加入",
|
||||
"Invitation only": "仅邀请",
|
||||
"Joining": "加盟"
|
||||
"Joining": "加盟",
|
||||
"Status of the event": "活动状态",
|
||||
"Tentative": "暂定",
|
||||
"Confirmed": "已确认",
|
||||
"Cancelled": "取消"
|
||||
}
|
||||
|
|
|
@ -2037,9 +2037,26 @@ def htmlNewPost(mediaInstance: bool, translate: {},
|
|||
dateAndLocation = '<div class="container">\n'
|
||||
|
||||
if endpoint == 'newevent':
|
||||
# event status
|
||||
dateAndLocation += '<label class="labels">' + \
|
||||
translate['Status of the event'] + ':</label><br>\n'
|
||||
dateAndLocation += '<input type="radio" id="tentative" ' + \
|
||||
'name="eventStatus" value="tentative" checked>\n'
|
||||
dateAndLocation += '<label class="labels" for="tentative">' + \
|
||||
translate['Tentative'] + '</label><br>\n'
|
||||
dateAndLocation += '<input type="radio" id="confirmed" ' + \
|
||||
'name="eventStatus" value="confirmed">\n'
|
||||
dateAndLocation += '<label class="labels" for="confirmed">' + \
|
||||
translate['Confirmed'] + '</label><br>\n'
|
||||
dateAndLocation += '<input type="radio" id="cancelled" ' + \
|
||||
'name="eventStatus" value="cancelled">\n'
|
||||
dateAndLocation += '<label class="labels" for="cancelled">' + \
|
||||
translate['Cancelled'] + '</label><br>\n'
|
||||
dateAndLocation += '</div>\n'
|
||||
dateAndLocation += '<div class="container">\n'
|
||||
# event joining options
|
||||
dateAndLocation += '<label class="labels">' + \
|
||||
translate['Joining'] + '</label><br>\n'
|
||||
translate['Joining'] + ':</label><br>\n'
|
||||
dateAndLocation += '<input type="radio" id="free" ' + \
|
||||
'name="joinMode" value="free" checked>\n'
|
||||
dateAndLocation += '<label class="labels" for="free">' + \
|
||||
|
|
Loading…
Reference in New Issue