forked from indymedia/epicyon
Maximum attendees
parent
0a96dfe03c
commit
f1546a2458
|
@ -5743,7 +5743,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maximumAttendeeCapacity = 999999
|
||||
if fields.get('maximumAttendeeCapacity'):
|
||||
maximumAttendeeCapacity = \
|
||||
fields['maximumAttendeeCapacity']
|
||||
int(fields['maximumAttendeeCapacity'])
|
||||
|
||||
messageJson = \
|
||||
createEventPost(self.server.baseDir,
|
||||
|
|
|
@ -1279,6 +1279,16 @@ aside .toggle-inside li {
|
|||
padding: 10px;
|
||||
margin: 20px 30px;
|
||||
}
|
||||
input[type=number]
|
||||
{
|
||||
-ms-transform: scale(2);
|
||||
-moz-transform: scale(2);
|
||||
-webkit-transform: scale(2);
|
||||
-o-transform: scale(2);
|
||||
transform: scale(2);
|
||||
padding: 10px;
|
||||
margin: 20px 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 2200px) {
|
||||
|
@ -1709,4 +1719,14 @@ aside .toggle-inside li {
|
|||
padding: 20px;
|
||||
margin: 30px 40px;
|
||||
}
|
||||
input[type=number]
|
||||
{
|
||||
-ms-transform: scale(4);
|
||||
-moz-transform: scale(4);
|
||||
-webkit-transform: scale(4);
|
||||
-o-transform: scale(4);
|
||||
transform: scale(4);
|
||||
padding: 20px;
|
||||
margin: 30px 40px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "تم تأكيد",
|
||||
"Cancelled": "ألغيت",
|
||||
"Event banner image description": "وصف صورة شعار الحدث",
|
||||
"Banner image": "صورة بانر"
|
||||
"Banner image": "صورة بانر",
|
||||
"Maximum attendees": "الحد الأقصى للحضور"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Confirmat",
|
||||
"Cancelled": "Cancel·lat",
|
||||
"Event banner image description": "Descripció de la imatge del banner de l’esdeveniment",
|
||||
"Banner image": "Imatge de pancarta"
|
||||
"Banner image": "Imatge de pancarta",
|
||||
"Maximum attendees": "Màxim d’assistents"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Cadarnhawyd",
|
||||
"Cancelled": "Wedi'i ganslo",
|
||||
"Event banner image description": "Disgrifiad delwedd baner y digwyddiad",
|
||||
"Banner image": "Delwedd baner"
|
||||
"Banner image": "Delwedd baner",
|
||||
"Maximum attendees": "Uchafswm mynychwyr"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Bestätigt",
|
||||
"Cancelled": "Abgesagt",
|
||||
"Event banner image description": "Beschreibung des Ereignisbannerbildes",
|
||||
"Banner image": "Bannerbild"
|
||||
"Banner image": "Bannerbild",
|
||||
"Maximum attendees": "Maximale Teilnehmerzahl"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Confirmed",
|
||||
"Cancelled": "Cancelled",
|
||||
"Event banner image description": "Event banner image description",
|
||||
"Banner image": "Banner image"
|
||||
"Banner image": "Banner image",
|
||||
"Maximum attendees": "Maximum attendees"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Confirmada",
|
||||
"Cancelled": "Cancelada",
|
||||
"Event banner image description": "Descripción de la imagen del banner del evento",
|
||||
"Banner image": "Imagen de banner"
|
||||
"Banner image": "Imagen de banner",
|
||||
"Maximum attendees": "Asistentes máximos"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Confirmé",
|
||||
"Cancelled": "Annulé",
|
||||
"Event banner image description": "Description de l'image de la bannière de l'événement",
|
||||
"Banner image": "Image de bannière"
|
||||
"Banner image": "Image de bannière",
|
||||
"Maximum attendees": "Nombre maximum de participants"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Deimhnithe",
|
||||
"Cancelled": "Cealaithe",
|
||||
"Event banner image description": "Tuairisc íomhá meirge na hócáide",
|
||||
"Banner image": "Íomhá meirge"
|
||||
"Banner image": "Íomhá meirge",
|
||||
"Maximum attendees": "Uasmhéid freastail"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "की पुष्टि",
|
||||
"Cancelled": "रद्द",
|
||||
"Event banner image description": "घटना बैनर छवि विवरण",
|
||||
"Banner image": "बैनर की छवि"
|
||||
"Banner image": "बैनर की छवि",
|
||||
"Maximum attendees": "अधिकतम उपस्थित"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Confermata",
|
||||
"Cancelled": "Annullata",
|
||||
"Event banner image description": "Descrizione dell'immagine del banner dell'evento",
|
||||
"Banner image": "Immagine banner"
|
||||
"Banner image": "Immagine banner",
|
||||
"Maximum attendees": "Numero massimo di partecipanti"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "確認済み",
|
||||
"Cancelled": "キャンセル",
|
||||
"Event banner image description": "イベントバナー画像の説明",
|
||||
"Banner image": "バナー画像"
|
||||
"Banner image": "バナー画像",
|
||||
"Maximum attendees": "最大参加者"
|
||||
}
|
||||
|
|
|
@ -270,5 +270,6 @@
|
|||
"Confirmed": "Confirmed",
|
||||
"Cancelled": "Cancelled",
|
||||
"Event banner image description": "Event banner image description",
|
||||
"Banner image": "Banner image"
|
||||
"Banner image": "Banner image",
|
||||
"Maximum attendees": "Maximum attendees"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Confirmada",
|
||||
"Cancelled": "Cancelada",
|
||||
"Event banner image description": "Descrição da imagem do banner do evento",
|
||||
"Banner image": "Imagem de banner"
|
||||
"Banner image": "Imagem de banner",
|
||||
"Maximum attendees": "Máximo de participantes"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "Подтверждено",
|
||||
"Cancelled": "Отменено",
|
||||
"Event banner image description": "Описание изображения баннера мероприятия",
|
||||
"Banner image": "Изображение баннера"
|
||||
"Banner image": "Изображение баннера",
|
||||
"Maximum attendees": "Максимальное количество участников"
|
||||
}
|
||||
|
|
|
@ -274,5 +274,6 @@
|
|||
"Confirmed": "已确认",
|
||||
"Cancelled": "取消",
|
||||
"Event banner image description": "活动横幅图片说明",
|
||||
"Banner image": "横幅图片"
|
||||
"Banner image": "横幅图片",
|
||||
"Maximum attendees": "参加人数上限"
|
||||
}
|
||||
|
|
|
@ -2069,6 +2069,14 @@ def htmlNewPost(mediaInstance: bool, translate: {},
|
|||
translate['Cancelled'] + '</label><br>\n'
|
||||
dateAndLocation += '</div>\n'
|
||||
dateAndLocation += '<div class="container">\n'
|
||||
# maximum attendees
|
||||
dateAndLocation += '<label for="maximumAttendeeCapacity">' + \
|
||||
translate['Maximum attendees'] + ':</label>\n'
|
||||
dateAndLocation += '<input type="number" ' + \
|
||||
'id="maximumAttendeeCapacity" ' + \
|
||||
'name="maximumAttendeeCapacity" min="1" max="999999">\n'
|
||||
dateAndLocation += '</div>\n'
|
||||
dateAndLocation += '<div class="container">\n'
|
||||
# event joining options
|
||||
dateAndLocation += '<label class="labels">' + \
|
||||
translate['Joining'] + ':</label><br>\n'
|
||||
|
|
Loading…
Reference in New Issue