mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
Merge pull request #257 from DanielGrams/issue/256
Suggestion rejection via popup #256
This commit is contained in:
commit
d5f8c9cfd8
@ -71,4 +71,22 @@ describe("Suggestion", () => {
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
it('reject', () => {
|
||||
cy.login()
|
||||
cy.createAdminUnit().then(function(adminUnitId) {
|
||||
cy.createSuggestion(adminUnitId).then(function(suggestionId) {
|
||||
|
||||
cy.visit('/event_suggestion/' + suggestionId + '/review')
|
||||
cy.get('.decision-container .btn-danger').click()
|
||||
cy.get('#rejectFormModal select[name=rejection_resaon]').select('Duplikat').should('have.value', '1')
|
||||
cy.screenshot()
|
||||
cy.get('#rejectFormModal .btn-danger').click()
|
||||
cy.url().should('include', '/reviews')
|
||||
cy.get('div.alert').should('contain', 'Veranstaltungsvorschlag erfolgreich abgelehnt')
|
||||
cy.get('main .badge-pill').should('contain', 'Abgelehnt')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
@ -46,6 +46,15 @@ Cypress.Commands.add("createIncomingReferenceRequest", (adminUnitId) => {
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add("createSuggestion", (adminUnitId) => {
|
||||
return cy
|
||||
.logexec("flask test suggestion-create " + adminUnitId)
|
||||
.then(function (result) {
|
||||
let json = JSON.parse(result.stdout);
|
||||
return json.event_suggestion_id;
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add("assertValid", (fieldId) => {
|
||||
cy.get("#" + fieldId).should("have.class", "is-valid");
|
||||
cy.get("#" + fieldId + "-error").should("be.empty");
|
||||
|
||||
162
messages.pot
162
messages.pot
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2021-08-11 07:54+0200\n"
|
||||
"POT-Creation-Date: 2021-08-12 23:45+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -175,9 +175,9 @@ msgstr ""
|
||||
msgid "Legal notice"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/admin.py:12 project/templates/_macros.html:1284
|
||||
#: project/forms/admin.py:12 project/templates/_macros.html:1322
|
||||
#: project/templates/layout.html:339
|
||||
#: project/templates/widget/event_suggestion/create.html:177
|
||||
#: project/templates/widget/event_suggestion/create.html:199
|
||||
#: project/views/admin_unit.py:36 project/views/root.py:58
|
||||
msgid "Contact"
|
||||
msgstr ""
|
||||
@ -268,7 +268,7 @@ msgstr ""
|
||||
msgid "The short name is used to create a unique identifier for your events"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/admin_unit.py:40 project/templates/_macros.html:1414
|
||||
#: project/forms/admin_unit.py:40 project/templates/_macros.html:1452
|
||||
msgid "Short name must contain only letters numbers or underscore"
|
||||
msgstr ""
|
||||
|
||||
@ -282,7 +282,7 @@ msgstr ""
|
||||
#: project/forms/admin_unit_member.py:23 project/forms/admin_unit_member.py:28
|
||||
#: project/forms/event.py:57 project/forms/event_suggestion.py:38
|
||||
#: project/forms/organizer.py:27 project/templates/_macros.html:262
|
||||
#: project/templates/_macros.html:1374 project/templates/admin/users.html:19
|
||||
#: project/templates/_macros.html:1412 project/templates/admin/users.html:19
|
||||
msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
@ -456,9 +456,9 @@ msgstr ""
|
||||
msgid "Indicate when the event will end. An event can last a maximum of 14 days."
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event.py:81 project/templates/event/create.html:298
|
||||
#: project/forms/event.py:81 project/templates/event/create.html:244
|
||||
#: project/templates/event/update.html:135
|
||||
#: project/templates/widget/event_suggestion/create.html:212
|
||||
#: project/templates/widget/event_suggestion/create.html:234
|
||||
msgid "Recurring event"
|
||||
msgstr ""
|
||||
|
||||
@ -604,7 +604,7 @@ msgid "Choose how people can attend the event."
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event.py:191 project/forms/event_place.py:27
|
||||
#: project/templates/widget/event_suggestion/create.html:230
|
||||
#: project/templates/widget/event_suggestion/create.html:252
|
||||
msgid "Photo"
|
||||
msgstr ""
|
||||
|
||||
@ -641,7 +641,7 @@ msgstr ""
|
||||
|
||||
#: project/forms/event.py:230 project/forms/reference.py:14
|
||||
#: project/forms/reference.py:27 project/forms/reference_request.py:75
|
||||
#: project/templates/event/create.html:412
|
||||
#: project/templates/event/create.html:358
|
||||
#: project/templates/event/update.html:214
|
||||
msgid "Rating"
|
||||
msgstr ""
|
||||
@ -656,7 +656,7 @@ msgstr ""
|
||||
#: project/forms/event.py:242 project/forms/event.py:251
|
||||
#: project/forms/event.py:315 project/forms/event_suggestion.py:50
|
||||
#: project/templates/_macros.html:462 project/templates/_macros.html:618
|
||||
#: project/templates/event/create.html:337
|
||||
#: project/templates/event/create.html:283
|
||||
#: project/templates/event/update.html:164
|
||||
#: project/templates/event_place/create.html:21
|
||||
#: project/templates/event_place/delete.html:13
|
||||
@ -675,7 +675,7 @@ msgstr ""
|
||||
#: project/forms/event.py:258 project/forms/event.py:267
|
||||
#: project/forms/event.py:323 project/forms/event.py:373
|
||||
#: project/forms/event_suggestion.py:60 project/templates/_macros.html:500
|
||||
#: project/templates/_macros.html:655 project/templates/event/create.html:308
|
||||
#: project/templates/_macros.html:655 project/templates/event/create.html:254
|
||||
#: project/templates/event/update.html:155
|
||||
#: project/templates/organizer/create.html:17
|
||||
#: project/templates/organizer/delete.html:13
|
||||
@ -692,7 +692,7 @@ msgid "Enter new organizer"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event.py:273 project/templates/event/create.html:4
|
||||
#: project/templates/event/create.html:275 project/templates/layout.html:256
|
||||
#: project/templates/event/create.html:221 project/templates/layout.html:256
|
||||
#: project/templates/manage/events.html:12
|
||||
#: project/templates/manage/organizers.html:21
|
||||
msgid "Create event"
|
||||
@ -840,13 +840,13 @@ msgstr ""
|
||||
msgid "I would like to be notified by email after the review"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:342
|
||||
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:288
|
||||
msgid ""
|
||||
"Choose where the event takes place. If the venue is not yet in the list, "
|
||||
"just enter it."
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:312
|
||||
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:258
|
||||
msgid ""
|
||||
"Select the organizer. If the organizer is not yet on the list, just enter"
|
||||
" it."
|
||||
@ -854,7 +854,7 @@ msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:78
|
||||
#: project/templates/widget/event_suggestion/create.html:4
|
||||
#: project/templates/widget/event_suggestion/create.html:130
|
||||
#: project/templates/widget/event_suggestion/create.html:152
|
||||
msgid "Create event suggestion"
|
||||
msgstr ""
|
||||
|
||||
@ -862,21 +862,27 @@ msgstr ""
|
||||
msgid "Rejection reason"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:122
|
||||
#: project/forms/event_suggestion.py:121
|
||||
msgid "EventRejectionReason.noreason"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:125
|
||||
msgid "EventRejectionReason.duplicate"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:126
|
||||
#: project/forms/event_suggestion.py:129
|
||||
msgid "EventRejectionReason.untrustworthy"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:130
|
||||
#: project/forms/event_suggestion.py:133
|
||||
msgid "EventRejectionReason.illegal"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:135
|
||||
#: project/forms/event_suggestion.py:138
|
||||
#: project/templates/event_suggestion/reject.html:9
|
||||
#: project/templates/event_suggestion/review.html:22
|
||||
#: project/templates/event_suggestion/review.html:33
|
||||
#: project/templates/event_suggestion/review.html:40
|
||||
#: project/templates/event_suggestion/review.html:54
|
||||
msgid "Reject event suggestion"
|
||||
msgstr ""
|
||||
|
||||
@ -948,7 +954,7 @@ msgstr ""
|
||||
msgid "Delete request"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/reference_request.py:27 project/templates/_macros.html:1296
|
||||
#: project/forms/reference_request.py:27 project/templates/_macros.html:1334
|
||||
#: project/templates/event_suggestion/review_status.html:18
|
||||
#: project/templates/reference_request/review_status.html:12
|
||||
msgid "Review status"
|
||||
@ -1053,11 +1059,11 @@ msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:402 project/templates/_macros.html:578
|
||||
#: project/templates/event/actions.html:12
|
||||
#: project/templates/event/create.html:282
|
||||
#: project/templates/event/create.html:228
|
||||
#: project/templates/event/delete.html:13
|
||||
#: project/templates/event/update.html:119
|
||||
#: project/templates/reference/delete.html:13
|
||||
#: project/templates/widget/event_suggestion/create.html:202
|
||||
#: project/templates/widget/event_suggestion/create.html:224
|
||||
msgid "Event"
|
||||
msgstr ""
|
||||
|
||||
@ -1067,12 +1073,12 @@ msgid "%(count)d event dates"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:445 project/templates/_macros.html:600
|
||||
#: project/templates/_macros.html:1359 project/templates/event/actions.html:32
|
||||
#: project/templates/_macros.html:1397 project/templates/event/actions.html:32
|
||||
msgid "Share"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:449 project/templates/_macros.html:604
|
||||
#: project/templates/_macros.html:1389
|
||||
#: project/templates/_macros.html:1427
|
||||
msgid "Add to calendar"
|
||||
msgstr ""
|
||||
|
||||
@ -1091,7 +1097,7 @@ msgstr ""
|
||||
#: project/templates/_macros.html:705 project/templates/event_date/list.html:4
|
||||
#: project/templates/event_date/list.html:258
|
||||
#: project/templates/event_date/search.html:3
|
||||
#: project/templates/reference_request/review.html:55
|
||||
#: project/templates/reference_request/review.html:32
|
||||
msgid "Event Dates"
|
||||
msgstr ""
|
||||
|
||||
@ -1101,12 +1107,12 @@ msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:811 project/templates/_macros.html:813
|
||||
#: project/templates/event_date/list.html:279
|
||||
#: project/templates/widget/event_suggestion/create.html:166
|
||||
#: project/templates/widget/event_suggestion/create.html:191
|
||||
#: project/templates/widget/event_suggestion/create.html:219
|
||||
#: project/templates/widget/event_suggestion/create.html:242
|
||||
#: project/templates/widget/event_suggestion/create.html:275
|
||||
#: project/templates/widget/event_suggestion/create.html:304
|
||||
#: project/templates/widget/event_suggestion/create.html:188
|
||||
#: project/templates/widget/event_suggestion/create.html:213
|
||||
#: project/templates/widget/event_suggestion/create.html:241
|
||||
#: project/templates/widget/event_suggestion/create.html:264
|
||||
#: project/templates/widget/event_suggestion/create.html:297
|
||||
#: project/templates/widget/event_suggestion/create.html:326
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
@ -1117,11 +1123,11 @@ msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:817 project/templates/_macros.html:819
|
||||
#: project/templates/event_date/list.html:281
|
||||
#: project/templates/widget/event_suggestion/create.html:167
|
||||
#: project/templates/widget/event_suggestion/create.html:192
|
||||
#: project/templates/widget/event_suggestion/create.html:220
|
||||
#: project/templates/widget/event_suggestion/create.html:243
|
||||
#: project/templates/widget/event_suggestion/create.html:276
|
||||
#: project/templates/widget/event_suggestion/create.html:189
|
||||
#: project/templates/widget/event_suggestion/create.html:214
|
||||
#: project/templates/widget/event_suggestion/create.html:242
|
||||
#: project/templates/widget/event_suggestion/create.html:265
|
||||
#: project/templates/widget/event_suggestion/create.html:298
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
@ -1157,31 +1163,36 @@ msgstr ""
|
||||
msgid "Please enter a valid time, between 00:00 and 23:59."
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1256
|
||||
#: project/templates/_macros.html:1242
|
||||
#, python-format
|
||||
msgid "Just use %(term)s"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1294
|
||||
msgid "Event suggestion"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1368
|
||||
#: project/templates/_macros.html:1406
|
||||
msgid "Link copied"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1368
|
||||
#: project/templates/_macros.html:1406
|
||||
msgid "Copy link"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1397
|
||||
#: project/templates/_macros.html:1435
|
||||
msgid "Google calendar"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1398
|
||||
#: project/templates/_macros.html:1436
|
||||
msgid "Apple calendar"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1399
|
||||
#: project/templates/_macros.html:1437
|
||||
msgid "Yahoo calendar"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1400
|
||||
#: project/templates/_macros.html:1438
|
||||
msgid "Other calendar"
|
||||
msgstr ""
|
||||
|
||||
@ -1346,7 +1357,7 @@ msgstr ""
|
||||
|
||||
#: project/templates/admin_unit/create.html:49
|
||||
#: project/templates/admin_unit/update.html:50
|
||||
#: project/templates/event/create.html:400
|
||||
#: project/templates/event/create.html:346
|
||||
#: project/templates/event/update.html:202
|
||||
#: project/templates/event_place/create.html:47
|
||||
#: project/templates/event_place/update.html:47
|
||||
@ -1454,39 +1465,35 @@ msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:90
|
||||
#: project/templates/event/update.html:76
|
||||
#: project/templates/widget/event_suggestion/create.html:99
|
||||
msgid "Enter place or address"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:100
|
||||
#: project/templates/event/create.html:213
|
||||
#, python-format
|
||||
msgid "Just use %(term)s"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:203
|
||||
#: project/templates/event/create.html:176
|
||||
#: project/templates/event/update.html:99
|
||||
#: project/templates/widget/event_suggestion/create.html:124
|
||||
msgid "Enter organizer"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:292
|
||||
#: project/templates/event/create.html:238
|
||||
#: project/templates/event/update.html:129
|
||||
msgid "Event date"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:329
|
||||
#: project/templates/event/create.html:275
|
||||
msgid "Switch to organizer search"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:362
|
||||
#: project/templates/event/create.html:308
|
||||
msgid "Switch to place search"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:373
|
||||
#: project/templates/event/create.html:319
|
||||
#: project/templates/event/update.html:175
|
||||
msgid "Access"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:387
|
||||
#: project/templates/event/create.html:333
|
||||
#: project/templates/event/update.html:189
|
||||
msgid "Target group"
|
||||
msgstr ""
|
||||
@ -1505,21 +1512,27 @@ msgstr ""
|
||||
msgid "Info"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review.html:9
|
||||
#: project/templates/event_suggestion/review.html:20
|
||||
#: project/templates/manage/reviews.html:19
|
||||
msgid "Review event suggestion"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review.html:17
|
||||
#: project/templates/event_suggestion/review.html:28
|
||||
#: project/templates/event_suggestion/review_status.html:24
|
||||
#: project/templates/reference_request/review_status.html:17
|
||||
msgid "View event"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review.html:21
|
||||
#: project/templates/event_suggestion/review.html:32
|
||||
msgid "Create event from suggestion"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review.html:53
|
||||
#: project/templates/reference_request/review.html:68
|
||||
#: project/templates/reference_request/review.html:93
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review_status.html:12
|
||||
msgid "You can visit this page again to check the status."
|
||||
msgstr ""
|
||||
@ -1658,27 +1671,22 @@ msgstr ""
|
||||
msgid "Update reference to event \"%(name)s\""
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/reference_request/review.html:46
|
||||
#: project/templates/reference_request/review.html:23
|
||||
msgid "Review event reference request"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/reference_request/review.html:66
|
||||
#: project/templates/reference_request/review.html:74
|
||||
#: project/templates/reference_request/review.html:92
|
||||
#: project/templates/reference_request/review.html:43
|
||||
#: project/templates/reference_request/review.html:51
|
||||
#: project/templates/reference_request/review.html:69
|
||||
msgid "Accept reference request"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/reference_request/review.html:67
|
||||
#: project/templates/reference_request/review.html:102
|
||||
#: project/templates/reference_request/review.html:119
|
||||
#: project/templates/reference_request/review.html:44
|
||||
#: project/templates/reference_request/review.html:79
|
||||
#: project/templates/reference_request/review.html:94
|
||||
msgid "Reject reference request"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/reference_request/review.html:91
|
||||
#: project/templates/reference_request/review.html:118
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/security/authorize.html:10
|
||||
#, python-format
|
||||
msgid "\"%(client_name)s\" wants to access your account"
|
||||
@ -1701,15 +1709,15 @@ msgstr ""
|
||||
msgid "Print"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:148
|
||||
#: project/templates/widget/event_suggestion/create.html:170
|
||||
msgid "Continue as guest"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:253
|
||||
#: project/templates/widget/event_suggestion/create.html:275
|
||||
msgid "Optional details"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:286
|
||||
#: project/templates/widget/event_suggestion/create.html:308
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
@ -1811,11 +1819,11 @@ msgstr ""
|
||||
msgid "Place successfully deleted"
|
||||
msgstr ""
|
||||
|
||||
#: project/views/event_suggestion.py:51
|
||||
#: project/views/event_suggestion.py:54
|
||||
msgid "Event suggestion successfully rejected"
|
||||
msgstr ""
|
||||
|
||||
#: project/views/event_suggestion.py:84
|
||||
#: project/views/event_suggestion.py:87
|
||||
#: project/views/reference_request_review.py:114
|
||||
msgid "Event review status updated"
|
||||
msgstr ""
|
||||
|
||||
@ -13,10 +13,12 @@ from project.models import (
|
||||
EventAttendanceMode,
|
||||
EventReferenceRequest,
|
||||
EventReferenceRequestReviewStatus,
|
||||
EventSuggestion,
|
||||
Location,
|
||||
)
|
||||
from project.services.admin_unit import get_admin_unit_by_id, insert_admin_unit_for_user
|
||||
from project.services.event import insert_event, upsert_event_category
|
||||
from project.services.event_suggestion import insert_event_suggestion
|
||||
from project.services.organizer import get_event_organizer
|
||||
from project.services.place import get_event_places
|
||||
from project.services.user import create_user, find_user_by_email, get_user
|
||||
@ -35,6 +37,15 @@ def _get_now_by_minute():
|
||||
)
|
||||
|
||||
|
||||
def _get_default_event_place_id(admin_unit_id):
|
||||
return get_event_places(admin_unit_id, limit=1)[0].id
|
||||
|
||||
|
||||
def _get_default_organizer_id(admin_unit_id):
|
||||
admin_unit = get_admin_unit_by_id(admin_unit_id)
|
||||
return get_event_organizer(admin_unit_id, admin_unit.name).id
|
||||
|
||||
|
||||
def _create_user(
|
||||
email="test@test.de", password="MeinPasswortIstDasBeste", confirm=True
|
||||
):
|
||||
@ -112,16 +123,14 @@ def create_admin_unit(user_email, name):
|
||||
|
||||
|
||||
def _create_event(admin_unit_id):
|
||||
admin_unit = get_admin_unit_by_id(admin_unit_id)
|
||||
|
||||
event = Event()
|
||||
event.admin_unit_id = admin_unit_id
|
||||
event.categories = [upsert_event_category("Other")]
|
||||
event.name = "Name"
|
||||
event.description = "Beschreibung"
|
||||
event.start = _get_now_by_minute()
|
||||
event.event_place_id = get_event_places(admin_unit_id, limit=1)[0].id
|
||||
event.organizer_id = get_event_organizer(admin_unit_id, admin_unit.name).id
|
||||
event.event_place_id = _get_default_event_place_id(admin_unit_id)
|
||||
event.organizer_id = _get_default_organizer_id(admin_unit_id)
|
||||
event.ticket_link = ""
|
||||
event.tags = ""
|
||||
event.price_info = ""
|
||||
@ -185,4 +194,38 @@ def create_incoming_reference_request(admin_unit_id):
|
||||
click.echo(json.dumps(result))
|
||||
|
||||
|
||||
def _create_event_suggestion(admin_unit_id, free_text=False):
|
||||
suggestion = EventSuggestion()
|
||||
suggestion.admin_unit_id = admin_unit_id
|
||||
suggestion.contact_name = "Vorname Nachname"
|
||||
suggestion.contact_email = "vorname@nachname.de"
|
||||
suggestion.contact_email_notice = False
|
||||
suggestion.name = "Vorschlag"
|
||||
suggestion.description = "Beschreibung"
|
||||
suggestion.start = _get_now_by_minute()
|
||||
suggestion.categories = [upsert_event_category("Other")]
|
||||
|
||||
if free_text:
|
||||
suggestion.event_place_text = "Freitext Ort"
|
||||
suggestion.organizer_text = "Freitext Organisator"
|
||||
else:
|
||||
suggestion.event_place_id = _get_default_event_place_id(admin_unit_id)
|
||||
suggestion.organizer_id = _get_default_organizer_id(admin_unit_id)
|
||||
|
||||
insert_event_suggestion(suggestion)
|
||||
db.session.commit()
|
||||
return suggestion.id
|
||||
|
||||
|
||||
@test_cli.command("suggestion-create")
|
||||
@click.argument("admin_unit_id")
|
||||
@click.option("--freetext/--no-freetext", default=False)
|
||||
def create_event_suggestion(admin_unit_id, freetext):
|
||||
event_suggestion_id = _create_event_suggestion(admin_unit_id, freetext)
|
||||
result = {
|
||||
"event_suggestion_id": event_suggestion_id,
|
||||
}
|
||||
click.echo(json.dumps(result))
|
||||
|
||||
|
||||
app.cli.add_command(test_cli)
|
||||
|
||||
@ -116,7 +116,10 @@ class RejectEventSuggestionForm(FlaskForm):
|
||||
lazy_gettext("Rejection reason"),
|
||||
coerce=int,
|
||||
choices=[
|
||||
(0, ""),
|
||||
(
|
||||
0,
|
||||
lazy_gettext("EventRejectionReason.noreason"),
|
||||
),
|
||||
(
|
||||
int(EventRejectionReason.duplicate),
|
||||
lazy_gettext("EventRejectionReason.duplicate"),
|
||||
|
||||
@ -1,9 +1,20 @@
|
||||
{% extends "layout.html" %}
|
||||
{% set active_id = "reviews" %}
|
||||
{% from "_macros.html" import render_event_suggestion, render_image, render_radio_buttons, render_phone_prop, render_email_prop, render_string_prop, render_field_with_errors, render_field, render_event_props, render_image_with_link, render_place, render_link_prop %}
|
||||
{% from "_macros.html" import render_jquery_steps_header, render_event_suggestion, render_image, render_radio_buttons, render_phone_prop, render_email_prop, render_string_prop, render_field_with_errors, render_field, render_event_props, render_image_with_link, render_place, render_link_prop %}
|
||||
{%- block title -%}
|
||||
{{ event_suggestion.name }}
|
||||
{%- endblock -%}
|
||||
{% block header_before_site_js %}
|
||||
{{ render_jquery_steps_header() }}
|
||||
<script>
|
||||
$( function() {
|
||||
|
||||
$('#rejectFormModal .btn-danger').click(function() {
|
||||
$('#rejectFormModal form').submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ _('Review event suggestion') }}</h1>
|
||||
@ -17,9 +28,33 @@
|
||||
<a class="btn btn-success" href="{{ url_for('event', event_id=event_suggestion.event_id) }}" role="button"><i class="fa fa-arrow-right"></i> {{ _('View event') }}</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="d-flex justify-content-between my-4">
|
||||
<div class="d-flex justify-content-between my-4 decision-container">
|
||||
<a class="btn btn-success m-1" href="{{ url_for('event_create_for_admin_unit_id', id=event_suggestion.admin_unit_id, event_suggestion_id=event_suggestion.id) }}" role="button"><i class="fa fa-arrow-right"></i> {{ _('Create event from suggestion') }}…</a>
|
||||
<a class="btn btn-danger m-1" href="{{ url_for('event_suggestion_reject', event_suggestion_id=event_suggestion.id) }}" role="button"><i class="fa fa-ban"></i> {{ _('Reject event suggestion') }}…</a>
|
||||
<button type="button" class="btn btn-danger m-1" data-toggle="modal" data-target="#rejectFormModal"><i class="fa fa-ban"></i> {{ _('Reject event suggestion') }}…</button>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="rejectFormModal" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">{{ _('Reject event suggestion') }}</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ url_for('event_suggestion_reject', event_suggestion_id=event_suggestion.id) }}" method="POST">
|
||||
{{ form.hidden_tag() }}
|
||||
|
||||
{{ render_field_with_errors(form.rejection_resaon) }}
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ _('Cancel') }}</button>
|
||||
<button type="button" class="btn btn-danger">{{ _('Reject event suggestion') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@ -8,29 +8,6 @@
|
||||
<script>
|
||||
$( function() {
|
||||
|
||||
function update_input_visibility(value) {
|
||||
switch (value) {
|
||||
case '0':
|
||||
$('#review_status_container').hide();
|
||||
$('#rating_container').hide();
|
||||
break;
|
||||
case '1':
|
||||
$('#review_status_container').hide();
|
||||
$('#rating_container').show();
|
||||
break;
|
||||
case '2':
|
||||
$('#review_status_container').show();
|
||||
$('#rating_container').hide();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$('input[name=review_status]').on('change', function() {
|
||||
update_input_visibility($(this).val());
|
||||
});
|
||||
|
||||
update_input_visibility($('input[name=review_status]:checked').val());
|
||||
|
||||
$('#acceptFormModal .btn-success').click(function() {
|
||||
$('#acceptFormModal form').submit();
|
||||
});
|
||||
@ -109,9 +86,7 @@ $( function() {
|
||||
{{ form.hidden_tag() }}
|
||||
<input type="hidden" name="{{ form.review_status.name }}" value="3" />
|
||||
|
||||
{% if form.rating.choices|length > 1 %}
|
||||
{{ render_field_with_errors(form.rejection_reason) }}
|
||||
{% endif %}
|
||||
{{ render_field_with_errors(form.rejection_reason) }}
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
Binary file not shown.
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2021-08-11 07:54+0200\n"
|
||||
"POT-Creation-Date: 2021-08-12 23:45+0200\n"
|
||||
"PO-Revision-Date: 2020-06-07 18:51+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: de\n"
|
||||
@ -176,9 +176,9 @@ msgstr "Nutzungsbedingungen"
|
||||
msgid "Legal notice"
|
||||
msgstr "Impressum"
|
||||
|
||||
#: project/forms/admin.py:12 project/templates/_macros.html:1284
|
||||
#: project/forms/admin.py:12 project/templates/_macros.html:1322
|
||||
#: project/templates/layout.html:339
|
||||
#: project/templates/widget/event_suggestion/create.html:177
|
||||
#: project/templates/widget/event_suggestion/create.html:199
|
||||
#: project/views/admin_unit.py:36 project/views/root.py:58
|
||||
msgid "Contact"
|
||||
msgstr "Kontakt"
|
||||
@ -274,7 +274,7 @@ msgstr ""
|
||||
"eindeutig zu identifizieren. Der Kurzname darf nur Buchstaben, Nummern "
|
||||
"und Unterstriche enthalten."
|
||||
|
||||
#: project/forms/admin_unit.py:40 project/templates/_macros.html:1414
|
||||
#: project/forms/admin_unit.py:40 project/templates/_macros.html:1452
|
||||
msgid "Short name must contain only letters numbers or underscore"
|
||||
msgstr "Der Kurzname darf nur Buchstaben, Nummern und Unterstriche enthalten"
|
||||
|
||||
@ -288,7 +288,7 @@ msgstr "Link URL"
|
||||
#: project/forms/admin_unit_member.py:23 project/forms/admin_unit_member.py:28
|
||||
#: project/forms/event.py:57 project/forms/event_suggestion.py:38
|
||||
#: project/forms/organizer.py:27 project/templates/_macros.html:262
|
||||
#: project/templates/_macros.html:1374 project/templates/admin/users.html:19
|
||||
#: project/templates/_macros.html:1412 project/templates/admin/users.html:19
|
||||
msgid "Email"
|
||||
msgstr "Email"
|
||||
|
||||
@ -467,9 +467,9 @@ msgstr ""
|
||||
"Gib an, wann die Veranstaltung endet. Eine Veranstaltung darf maximal 14 "
|
||||
"Tage dauern."
|
||||
|
||||
#: project/forms/event.py:81 project/templates/event/create.html:298
|
||||
#: project/forms/event.py:81 project/templates/event/create.html:244
|
||||
#: project/templates/event/update.html:135
|
||||
#: project/templates/widget/event_suggestion/create.html:212
|
||||
#: project/templates/widget/event_suggestion/create.html:234
|
||||
msgid "Recurring event"
|
||||
msgstr "Regelmäßige Veranstaltung"
|
||||
|
||||
@ -624,7 +624,7 @@ msgid "Choose how people can attend the event."
|
||||
msgstr "Wähle aus, wie Personen an der Veranstaltung teilnehmen können."
|
||||
|
||||
#: project/forms/event.py:191 project/forms/event_place.py:27
|
||||
#: project/templates/widget/event_suggestion/create.html:230
|
||||
#: project/templates/widget/event_suggestion/create.html:252
|
||||
msgid "Photo"
|
||||
msgstr "Foto"
|
||||
|
||||
@ -665,7 +665,7 @@ msgstr "Wähle Kategorien, die zur Veranstaltung passen."
|
||||
|
||||
#: project/forms/event.py:230 project/forms/reference.py:14
|
||||
#: project/forms/reference.py:27 project/forms/reference_request.py:75
|
||||
#: project/templates/event/create.html:412
|
||||
#: project/templates/event/create.html:358
|
||||
#: project/templates/event/update.html:214
|
||||
msgid "Rating"
|
||||
msgstr "Bewertung"
|
||||
@ -682,7 +682,7 @@ msgstr ""
|
||||
#: project/forms/event.py:242 project/forms/event.py:251
|
||||
#: project/forms/event.py:315 project/forms/event_suggestion.py:50
|
||||
#: project/templates/_macros.html:462 project/templates/_macros.html:618
|
||||
#: project/templates/event/create.html:337
|
||||
#: project/templates/event/create.html:283
|
||||
#: project/templates/event/update.html:164
|
||||
#: project/templates/event_place/create.html:21
|
||||
#: project/templates/event_place/delete.html:13
|
||||
@ -701,7 +701,7 @@ msgstr "Neuen Ort eingeben"
|
||||
#: project/forms/event.py:258 project/forms/event.py:267
|
||||
#: project/forms/event.py:323 project/forms/event.py:373
|
||||
#: project/forms/event_suggestion.py:60 project/templates/_macros.html:500
|
||||
#: project/templates/_macros.html:655 project/templates/event/create.html:308
|
||||
#: project/templates/_macros.html:655 project/templates/event/create.html:254
|
||||
#: project/templates/event/update.html:155
|
||||
#: project/templates/organizer/create.html:17
|
||||
#: project/templates/organizer/delete.html:13
|
||||
@ -718,7 +718,7 @@ msgid "Enter new organizer"
|
||||
msgstr "Neuen Veranstalter eingeben"
|
||||
|
||||
#: project/forms/event.py:273 project/templates/event/create.html:4
|
||||
#: project/templates/event/create.html:275 project/templates/layout.html:256
|
||||
#: project/templates/event/create.html:221 project/templates/layout.html:256
|
||||
#: project/templates/manage/events.html:12
|
||||
#: project/templates/manage/organizers.html:21
|
||||
msgid "Create event"
|
||||
@ -870,7 +870,7 @@ msgstr "Bitte gib deine Email-Adresse oder deine Telefonnummer für die Prüfung
|
||||
msgid "I would like to be notified by email after the review"
|
||||
msgstr "Ich möchte per Email benachrichtigt werden nach der Prüfung"
|
||||
|
||||
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:342
|
||||
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:288
|
||||
msgid ""
|
||||
"Choose where the event takes place. If the venue is not yet in the list, "
|
||||
"just enter it."
|
||||
@ -878,7 +878,7 @@ msgstr ""
|
||||
"Wähle aus, wo die Veranstaltung stattfindet. Ist der Veranstaltungsort "
|
||||
"noch nicht in der Liste, trage ihn einfach ein."
|
||||
|
||||
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:312
|
||||
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:258
|
||||
msgid ""
|
||||
"Select the organizer. If the organizer is not yet on the list, just enter"
|
||||
" it."
|
||||
@ -888,7 +888,7 @@ msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:78
|
||||
#: project/templates/widget/event_suggestion/create.html:4
|
||||
#: project/templates/widget/event_suggestion/create.html:130
|
||||
#: project/templates/widget/event_suggestion/create.html:152
|
||||
msgid "Create event suggestion"
|
||||
msgstr "Veranstaltung vorschlagen"
|
||||
|
||||
@ -896,21 +896,27 @@ msgstr "Veranstaltung vorschlagen"
|
||||
msgid "Rejection reason"
|
||||
msgstr "Ablehnungsgrund"
|
||||
|
||||
#: project/forms/event_suggestion.py:122
|
||||
#: project/forms/event_suggestion.py:121
|
||||
msgid "EventRejectionReason.noreason"
|
||||
msgstr "Ohne Grund"
|
||||
|
||||
#: project/forms/event_suggestion.py:125
|
||||
msgid "EventRejectionReason.duplicate"
|
||||
msgstr "Duplikat"
|
||||
|
||||
#: project/forms/event_suggestion.py:126
|
||||
#: project/forms/event_suggestion.py:129
|
||||
msgid "EventRejectionReason.untrustworthy"
|
||||
msgstr "Unseriös"
|
||||
|
||||
#: project/forms/event_suggestion.py:130
|
||||
#: project/forms/event_suggestion.py:133
|
||||
msgid "EventRejectionReason.illegal"
|
||||
msgstr "Unzulässig"
|
||||
|
||||
#: project/forms/event_suggestion.py:135
|
||||
#: project/forms/event_suggestion.py:138
|
||||
#: project/templates/event_suggestion/reject.html:9
|
||||
#: project/templates/event_suggestion/review.html:22
|
||||
#: project/templates/event_suggestion/review.html:33
|
||||
#: project/templates/event_suggestion/review.html:40
|
||||
#: project/templates/event_suggestion/review.html:54
|
||||
msgid "Reject event suggestion"
|
||||
msgstr "Vorgeschlagene Veranstaltung ablehnen"
|
||||
|
||||
@ -982,7 +988,7 @@ msgstr "Anfrage speichern"
|
||||
msgid "Delete request"
|
||||
msgstr "Anfrage löschen"
|
||||
|
||||
#: project/forms/reference_request.py:27 project/templates/_macros.html:1296
|
||||
#: project/forms/reference_request.py:27 project/templates/_macros.html:1334
|
||||
#: project/templates/event_suggestion/review_status.html:18
|
||||
#: project/templates/reference_request/review_status.html:12
|
||||
msgid "Review status"
|
||||
@ -1087,11 +1093,11 @@ msgstr "Zuletzt aktualisiert am %(updated_at)s."
|
||||
|
||||
#: project/templates/_macros.html:402 project/templates/_macros.html:578
|
||||
#: project/templates/event/actions.html:12
|
||||
#: project/templates/event/create.html:282
|
||||
#: project/templates/event/create.html:228
|
||||
#: project/templates/event/delete.html:13
|
||||
#: project/templates/event/update.html:119
|
||||
#: project/templates/reference/delete.html:13
|
||||
#: project/templates/widget/event_suggestion/create.html:202
|
||||
#: project/templates/widget/event_suggestion/create.html:224
|
||||
msgid "Event"
|
||||
msgstr "Veranstaltung"
|
||||
|
||||
@ -1101,12 +1107,12 @@ msgid "%(count)d event dates"
|
||||
msgstr "%(count)d Termine"
|
||||
|
||||
#: project/templates/_macros.html:445 project/templates/_macros.html:600
|
||||
#: project/templates/_macros.html:1359 project/templates/event/actions.html:32
|
||||
#: project/templates/_macros.html:1397 project/templates/event/actions.html:32
|
||||
msgid "Share"
|
||||
msgstr "Teilen"
|
||||
|
||||
#: project/templates/_macros.html:449 project/templates/_macros.html:604
|
||||
#: project/templates/_macros.html:1389
|
||||
#: project/templates/_macros.html:1427
|
||||
msgid "Add to calendar"
|
||||
msgstr "Zum Kalender"
|
||||
|
||||
@ -1127,7 +1133,7 @@ msgstr ""
|
||||
#: project/templates/_macros.html:705 project/templates/event_date/list.html:4
|
||||
#: project/templates/event_date/list.html:258
|
||||
#: project/templates/event_date/search.html:3
|
||||
#: project/templates/reference_request/review.html:55
|
||||
#: project/templates/reference_request/review.html:32
|
||||
msgid "Event Dates"
|
||||
msgstr "Termine"
|
||||
|
||||
@ -1137,12 +1143,12 @@ msgstr "Ort bei Google suchen"
|
||||
|
||||
#: project/templates/_macros.html:811 project/templates/_macros.html:813
|
||||
#: project/templates/event_date/list.html:279
|
||||
#: project/templates/widget/event_suggestion/create.html:166
|
||||
#: project/templates/widget/event_suggestion/create.html:191
|
||||
#: project/templates/widget/event_suggestion/create.html:219
|
||||
#: project/templates/widget/event_suggestion/create.html:242
|
||||
#: project/templates/widget/event_suggestion/create.html:275
|
||||
#: project/templates/widget/event_suggestion/create.html:304
|
||||
#: project/templates/widget/event_suggestion/create.html:188
|
||||
#: project/templates/widget/event_suggestion/create.html:213
|
||||
#: project/templates/widget/event_suggestion/create.html:241
|
||||
#: project/templates/widget/event_suggestion/create.html:264
|
||||
#: project/templates/widget/event_suggestion/create.html:297
|
||||
#: project/templates/widget/event_suggestion/create.html:326
|
||||
msgid "Previous"
|
||||
msgstr "Zurück"
|
||||
|
||||
@ -1153,11 +1159,11 @@ msgstr "Seite %(page)d von %(pages)d (%(total)d insgesamt)"
|
||||
|
||||
#: project/templates/_macros.html:817 project/templates/_macros.html:819
|
||||
#: project/templates/event_date/list.html:281
|
||||
#: project/templates/widget/event_suggestion/create.html:167
|
||||
#: project/templates/widget/event_suggestion/create.html:192
|
||||
#: project/templates/widget/event_suggestion/create.html:220
|
||||
#: project/templates/widget/event_suggestion/create.html:243
|
||||
#: project/templates/widget/event_suggestion/create.html:276
|
||||
#: project/templates/widget/event_suggestion/create.html:189
|
||||
#: project/templates/widget/event_suggestion/create.html:214
|
||||
#: project/templates/widget/event_suggestion/create.html:242
|
||||
#: project/templates/widget/event_suggestion/create.html:265
|
||||
#: project/templates/widget/event_suggestion/create.html:298
|
||||
msgid "Next"
|
||||
msgstr "Weiter"
|
||||
|
||||
@ -1191,33 +1197,38 @@ msgstr "Mehr"
|
||||
|
||||
#: project/templates/_macros.html:1214
|
||||
msgid "Please enter a valid time, between 00:00 and 23:59."
|
||||
msgstr ""
|
||||
msgstr "Bitte gib eine gültige Uhrzeit zwischen 00:00 und 23:59 ein."
|
||||
|
||||
#: project/templates/_macros.html:1256
|
||||
#: project/templates/_macros.html:1242
|
||||
#, python-format
|
||||
msgid "Just use %(term)s"
|
||||
msgstr "Verwende einfach %(term)s"
|
||||
|
||||
#: project/templates/_macros.html:1294
|
||||
msgid "Event suggestion"
|
||||
msgstr "Veranstaltungsvorschlag"
|
||||
|
||||
#: project/templates/_macros.html:1368
|
||||
#: project/templates/_macros.html:1406
|
||||
msgid "Link copied"
|
||||
msgstr "Link kopiert"
|
||||
|
||||
#: project/templates/_macros.html:1368
|
||||
#: project/templates/_macros.html:1406
|
||||
msgid "Copy link"
|
||||
msgstr "Link kopieren"
|
||||
|
||||
#: project/templates/_macros.html:1397
|
||||
#: project/templates/_macros.html:1435
|
||||
msgid "Google calendar"
|
||||
msgstr "Google Kalender"
|
||||
|
||||
#: project/templates/_macros.html:1398
|
||||
#: project/templates/_macros.html:1436
|
||||
msgid "Apple calendar"
|
||||
msgstr "Apple Kalender"
|
||||
|
||||
#: project/templates/_macros.html:1399
|
||||
#: project/templates/_macros.html:1437
|
||||
msgid "Yahoo calendar"
|
||||
msgstr "Yahoo Kalender"
|
||||
|
||||
#: project/templates/_macros.html:1400
|
||||
#: project/templates/_macros.html:1438
|
||||
msgid "Other calendar"
|
||||
msgstr "Anderer Kalender"
|
||||
|
||||
@ -1382,7 +1393,7 @@ msgstr "Bearbeiten"
|
||||
|
||||
#: project/templates/admin_unit/create.html:49
|
||||
#: project/templates/admin_unit/update.html:50
|
||||
#: project/templates/event/create.html:400
|
||||
#: project/templates/event/create.html:346
|
||||
#: project/templates/event/update.html:202
|
||||
#: project/templates/event_place/create.html:47
|
||||
#: project/templates/event_place/update.html:47
|
||||
@ -1492,39 +1503,35 @@ msgstr "Zeige alle Veranstaltungen von %(admin_unit_name)s"
|
||||
|
||||
#: project/templates/event/create.html:90
|
||||
#: project/templates/event/update.html:76
|
||||
#: project/templates/widget/event_suggestion/create.html:99
|
||||
msgid "Enter place or address"
|
||||
msgstr "Orte oder Adresse eingeben"
|
||||
|
||||
#: project/templates/event/create.html:100
|
||||
#: project/templates/event/create.html:213
|
||||
#, python-format
|
||||
msgid "Just use %(term)s"
|
||||
msgstr "Verwende einfach %(term)s"
|
||||
|
||||
#: project/templates/event/create.html:203
|
||||
#: project/templates/event/create.html:176
|
||||
#: project/templates/event/update.html:99
|
||||
#: project/templates/widget/event_suggestion/create.html:124
|
||||
msgid "Enter organizer"
|
||||
msgstr "Veranstalter eingeben"
|
||||
|
||||
#: project/templates/event/create.html:292
|
||||
#: project/templates/event/create.html:238
|
||||
#: project/templates/event/update.html:129
|
||||
msgid "Event date"
|
||||
msgstr "Termin"
|
||||
|
||||
#: project/templates/event/create.html:329
|
||||
#: project/templates/event/create.html:275
|
||||
msgid "Switch to organizer search"
|
||||
msgstr "Zur Veranstaltersuche wechseln"
|
||||
|
||||
#: project/templates/event/create.html:362
|
||||
#: project/templates/event/create.html:308
|
||||
msgid "Switch to place search"
|
||||
msgstr "Zur Ortssuche wechseln"
|
||||
|
||||
#: project/templates/event/create.html:373
|
||||
#: project/templates/event/create.html:319
|
||||
#: project/templates/event/update.html:175
|
||||
msgid "Access"
|
||||
msgstr "Zugang"
|
||||
|
||||
#: project/templates/event/create.html:387
|
||||
#: project/templates/event/create.html:333
|
||||
#: project/templates/event/update.html:189
|
||||
msgid "Target group"
|
||||
msgstr "Zielgruppe"
|
||||
@ -1543,21 +1550,27 @@ msgstr "Empfehlung anfragen für Veranstaltung \"%(name)s\""
|
||||
msgid "Info"
|
||||
msgstr "Info"
|
||||
|
||||
#: project/templates/event_suggestion/review.html:9
|
||||
#: project/templates/event_suggestion/review.html:20
|
||||
#: project/templates/manage/reviews.html:19
|
||||
msgid "Review event suggestion"
|
||||
msgstr "Veranstaltungsvorschlag prüfen"
|
||||
|
||||
#: project/templates/event_suggestion/review.html:17
|
||||
#: project/templates/event_suggestion/review.html:28
|
||||
#: project/templates/event_suggestion/review_status.html:24
|
||||
#: project/templates/reference_request/review_status.html:17
|
||||
msgid "View event"
|
||||
msgstr "Veranstaltung anzeigen"
|
||||
|
||||
#: project/templates/event_suggestion/review.html:21
|
||||
#: project/templates/event_suggestion/review.html:32
|
||||
msgid "Create event from suggestion"
|
||||
msgstr "Erstelle eine Veranstaltung aus dem Vorschlag"
|
||||
|
||||
#: project/templates/event_suggestion/review.html:53
|
||||
#: project/templates/reference_request/review.html:68
|
||||
#: project/templates/reference_request/review.html:93
|
||||
msgid "Cancel"
|
||||
msgstr "Abbrechen"
|
||||
|
||||
#: project/templates/event_suggestion/review_status.html:12
|
||||
msgid "You can visit this page again to check the status."
|
||||
msgstr "Du kannst diese Seite erneut besuchen, um den Status zu prüfen."
|
||||
@ -1696,27 +1709,22 @@ msgstr "Empfehlung bearbeiten"
|
||||
msgid "Update reference to event \"%(name)s\""
|
||||
msgstr "Empfehlung aktualisieren für Veranstaltung \"%(name)s\""
|
||||
|
||||
#: project/templates/reference_request/review.html:46
|
||||
#: project/templates/reference_request/review.html:23
|
||||
msgid "Review event reference request"
|
||||
msgstr "Empfehlungsanfrage prüfen"
|
||||
|
||||
#: project/templates/reference_request/review.html:66
|
||||
#: project/templates/reference_request/review.html:74
|
||||
#: project/templates/reference_request/review.html:92
|
||||
#: project/templates/reference_request/review.html:43
|
||||
#: project/templates/reference_request/review.html:51
|
||||
#: project/templates/reference_request/review.html:69
|
||||
msgid "Accept reference request"
|
||||
msgstr "Anfrage akzeptieren"
|
||||
|
||||
#: project/templates/reference_request/review.html:67
|
||||
#: project/templates/reference_request/review.html:102
|
||||
#: project/templates/reference_request/review.html:119
|
||||
#: project/templates/reference_request/review.html:44
|
||||
#: project/templates/reference_request/review.html:79
|
||||
#: project/templates/reference_request/review.html:94
|
||||
msgid "Reject reference request"
|
||||
msgstr "Anfrage ablehnen"
|
||||
|
||||
#: project/templates/reference_request/review.html:91
|
||||
#: project/templates/reference_request/review.html:118
|
||||
msgid "Cancel"
|
||||
msgstr "Abbrechen"
|
||||
|
||||
#: project/templates/security/authorize.html:10
|
||||
#, python-format
|
||||
msgid "\"%(client_name)s\" wants to access your account"
|
||||
@ -1739,15 +1747,15 @@ msgstr "Widget"
|
||||
msgid "Print"
|
||||
msgstr "Drucken"
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:148
|
||||
#: project/templates/widget/event_suggestion/create.html:170
|
||||
msgid "Continue as guest"
|
||||
msgstr "Weiter als Gast"
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:253
|
||||
#: project/templates/widget/event_suggestion/create.html:275
|
||||
msgid "Optional details"
|
||||
msgstr "Optionale Details"
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:286
|
||||
#: project/templates/widget/event_suggestion/create.html:308
|
||||
msgid "Preview"
|
||||
msgstr "Vorschau"
|
||||
|
||||
@ -1852,11 +1860,11 @@ msgstr "Der eingegebene Name entspricht nicht dem Namen des Ortes"
|
||||
msgid "Place successfully deleted"
|
||||
msgstr "Ort erfolgreich gelöscht"
|
||||
|
||||
#: project/views/event_suggestion.py:51
|
||||
#: project/views/event_suggestion.py:54
|
||||
msgid "Event suggestion successfully rejected"
|
||||
msgstr "Veranstaltungsvorschlag erfolgreich abgelehnt"
|
||||
|
||||
#: project/views/event_suggestion.py:84
|
||||
#: project/views/event_suggestion.py:87
|
||||
#: project/views/reference_request_review.py:114
|
||||
msgid "Event review status updated"
|
||||
msgstr "Prüfungsstatus aktualisiert"
|
||||
|
||||
Binary file not shown.
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2021-08-11 07:54+0200\n"
|
||||
"POT-Creation-Date: 2021-08-12 23:45+0200\n"
|
||||
"PO-Revision-Date: 2021-04-30 15:04+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
@ -176,9 +176,9 @@ msgstr ""
|
||||
msgid "Legal notice"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/admin.py:12 project/templates/_macros.html:1284
|
||||
#: project/forms/admin.py:12 project/templates/_macros.html:1322
|
||||
#: project/templates/layout.html:339
|
||||
#: project/templates/widget/event_suggestion/create.html:177
|
||||
#: project/templates/widget/event_suggestion/create.html:199
|
||||
#: project/views/admin_unit.py:36 project/views/root.py:58
|
||||
msgid "Contact"
|
||||
msgstr ""
|
||||
@ -269,7 +269,7 @@ msgstr ""
|
||||
msgid "The short name is used to create a unique identifier for your events"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/admin_unit.py:40 project/templates/_macros.html:1414
|
||||
#: project/forms/admin_unit.py:40 project/templates/_macros.html:1452
|
||||
msgid "Short name must contain only letters numbers or underscore"
|
||||
msgstr ""
|
||||
|
||||
@ -283,7 +283,7 @@ msgstr ""
|
||||
#: project/forms/admin_unit_member.py:23 project/forms/admin_unit_member.py:28
|
||||
#: project/forms/event.py:57 project/forms/event_suggestion.py:38
|
||||
#: project/forms/organizer.py:27 project/templates/_macros.html:262
|
||||
#: project/templates/_macros.html:1374 project/templates/admin/users.html:19
|
||||
#: project/templates/_macros.html:1412 project/templates/admin/users.html:19
|
||||
msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
@ -457,9 +457,9 @@ msgstr ""
|
||||
msgid "Indicate when the event will end. An event can last a maximum of 14 days."
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event.py:81 project/templates/event/create.html:298
|
||||
#: project/forms/event.py:81 project/templates/event/create.html:244
|
||||
#: project/templates/event/update.html:135
|
||||
#: project/templates/widget/event_suggestion/create.html:212
|
||||
#: project/templates/widget/event_suggestion/create.html:234
|
||||
msgid "Recurring event"
|
||||
msgstr ""
|
||||
|
||||
@ -605,7 +605,7 @@ msgid "Choose how people can attend the event."
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event.py:191 project/forms/event_place.py:27
|
||||
#: project/templates/widget/event_suggestion/create.html:230
|
||||
#: project/templates/widget/event_suggestion/create.html:252
|
||||
msgid "Photo"
|
||||
msgstr ""
|
||||
|
||||
@ -642,7 +642,7 @@ msgstr ""
|
||||
|
||||
#: project/forms/event.py:230 project/forms/reference.py:14
|
||||
#: project/forms/reference.py:27 project/forms/reference_request.py:75
|
||||
#: project/templates/event/create.html:412
|
||||
#: project/templates/event/create.html:358
|
||||
#: project/templates/event/update.html:214
|
||||
msgid "Rating"
|
||||
msgstr ""
|
||||
@ -657,7 +657,7 @@ msgstr ""
|
||||
#: project/forms/event.py:242 project/forms/event.py:251
|
||||
#: project/forms/event.py:315 project/forms/event_suggestion.py:50
|
||||
#: project/templates/_macros.html:462 project/templates/_macros.html:618
|
||||
#: project/templates/event/create.html:337
|
||||
#: project/templates/event/create.html:283
|
||||
#: project/templates/event/update.html:164
|
||||
#: project/templates/event_place/create.html:21
|
||||
#: project/templates/event_place/delete.html:13
|
||||
@ -676,7 +676,7 @@ msgstr ""
|
||||
#: project/forms/event.py:258 project/forms/event.py:267
|
||||
#: project/forms/event.py:323 project/forms/event.py:373
|
||||
#: project/forms/event_suggestion.py:60 project/templates/_macros.html:500
|
||||
#: project/templates/_macros.html:655 project/templates/event/create.html:308
|
||||
#: project/templates/_macros.html:655 project/templates/event/create.html:254
|
||||
#: project/templates/event/update.html:155
|
||||
#: project/templates/organizer/create.html:17
|
||||
#: project/templates/organizer/delete.html:13
|
||||
@ -693,7 +693,7 @@ msgid "Enter new organizer"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event.py:273 project/templates/event/create.html:4
|
||||
#: project/templates/event/create.html:275 project/templates/layout.html:256
|
||||
#: project/templates/event/create.html:221 project/templates/layout.html:256
|
||||
#: project/templates/manage/events.html:12
|
||||
#: project/templates/manage/organizers.html:21
|
||||
msgid "Create event"
|
||||
@ -841,13 +841,13 @@ msgstr ""
|
||||
msgid "I would like to be notified by email after the review"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:342
|
||||
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:288
|
||||
msgid ""
|
||||
"Choose where the event takes place. If the venue is not yet in the list, "
|
||||
"just enter it."
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:312
|
||||
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:258
|
||||
msgid ""
|
||||
"Select the organizer. If the organizer is not yet on the list, just enter"
|
||||
" it."
|
||||
@ -855,7 +855,7 @@ msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:78
|
||||
#: project/templates/widget/event_suggestion/create.html:4
|
||||
#: project/templates/widget/event_suggestion/create.html:130
|
||||
#: project/templates/widget/event_suggestion/create.html:152
|
||||
msgid "Create event suggestion"
|
||||
msgstr ""
|
||||
|
||||
@ -863,21 +863,27 @@ msgstr ""
|
||||
msgid "Rejection reason"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:122
|
||||
#: project/forms/event_suggestion.py:121
|
||||
msgid "EventRejectionReason.noreason"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/event_suggestion.py:125
|
||||
msgid "EventRejectionReason.duplicate"
|
||||
msgstr "Duplicate"
|
||||
|
||||
#: project/forms/event_suggestion.py:126
|
||||
#: project/forms/event_suggestion.py:129
|
||||
msgid "EventRejectionReason.untrustworthy"
|
||||
msgstr "Untrustworthy"
|
||||
|
||||
#: project/forms/event_suggestion.py:130
|
||||
#: project/forms/event_suggestion.py:133
|
||||
msgid "EventRejectionReason.illegal"
|
||||
msgstr "Illegal"
|
||||
|
||||
#: project/forms/event_suggestion.py:135
|
||||
#: project/forms/event_suggestion.py:138
|
||||
#: project/templates/event_suggestion/reject.html:9
|
||||
#: project/templates/event_suggestion/review.html:22
|
||||
#: project/templates/event_suggestion/review.html:33
|
||||
#: project/templates/event_suggestion/review.html:40
|
||||
#: project/templates/event_suggestion/review.html:54
|
||||
msgid "Reject event suggestion"
|
||||
msgstr ""
|
||||
|
||||
@ -949,7 +955,7 @@ msgstr ""
|
||||
msgid "Delete request"
|
||||
msgstr ""
|
||||
|
||||
#: project/forms/reference_request.py:27 project/templates/_macros.html:1296
|
||||
#: project/forms/reference_request.py:27 project/templates/_macros.html:1334
|
||||
#: project/templates/event_suggestion/review_status.html:18
|
||||
#: project/templates/reference_request/review_status.html:12
|
||||
msgid "Review status"
|
||||
@ -1054,11 +1060,11 @@ msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:402 project/templates/_macros.html:578
|
||||
#: project/templates/event/actions.html:12
|
||||
#: project/templates/event/create.html:282
|
||||
#: project/templates/event/create.html:228
|
||||
#: project/templates/event/delete.html:13
|
||||
#: project/templates/event/update.html:119
|
||||
#: project/templates/reference/delete.html:13
|
||||
#: project/templates/widget/event_suggestion/create.html:202
|
||||
#: project/templates/widget/event_suggestion/create.html:224
|
||||
msgid "Event"
|
||||
msgstr ""
|
||||
|
||||
@ -1068,12 +1074,12 @@ msgid "%(count)d event dates"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:445 project/templates/_macros.html:600
|
||||
#: project/templates/_macros.html:1359 project/templates/event/actions.html:32
|
||||
#: project/templates/_macros.html:1397 project/templates/event/actions.html:32
|
||||
msgid "Share"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:449 project/templates/_macros.html:604
|
||||
#: project/templates/_macros.html:1389
|
||||
#: project/templates/_macros.html:1427
|
||||
msgid "Add to calendar"
|
||||
msgstr ""
|
||||
|
||||
@ -1092,7 +1098,7 @@ msgstr ""
|
||||
#: project/templates/_macros.html:705 project/templates/event_date/list.html:4
|
||||
#: project/templates/event_date/list.html:258
|
||||
#: project/templates/event_date/search.html:3
|
||||
#: project/templates/reference_request/review.html:55
|
||||
#: project/templates/reference_request/review.html:32
|
||||
msgid "Event Dates"
|
||||
msgstr ""
|
||||
|
||||
@ -1102,12 +1108,12 @@ msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:811 project/templates/_macros.html:813
|
||||
#: project/templates/event_date/list.html:279
|
||||
#: project/templates/widget/event_suggestion/create.html:166
|
||||
#: project/templates/widget/event_suggestion/create.html:191
|
||||
#: project/templates/widget/event_suggestion/create.html:219
|
||||
#: project/templates/widget/event_suggestion/create.html:242
|
||||
#: project/templates/widget/event_suggestion/create.html:275
|
||||
#: project/templates/widget/event_suggestion/create.html:304
|
||||
#: project/templates/widget/event_suggestion/create.html:188
|
||||
#: project/templates/widget/event_suggestion/create.html:213
|
||||
#: project/templates/widget/event_suggestion/create.html:241
|
||||
#: project/templates/widget/event_suggestion/create.html:264
|
||||
#: project/templates/widget/event_suggestion/create.html:297
|
||||
#: project/templates/widget/event_suggestion/create.html:326
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
@ -1118,11 +1124,11 @@ msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:817 project/templates/_macros.html:819
|
||||
#: project/templates/event_date/list.html:281
|
||||
#: project/templates/widget/event_suggestion/create.html:167
|
||||
#: project/templates/widget/event_suggestion/create.html:192
|
||||
#: project/templates/widget/event_suggestion/create.html:220
|
||||
#: project/templates/widget/event_suggestion/create.html:243
|
||||
#: project/templates/widget/event_suggestion/create.html:276
|
||||
#: project/templates/widget/event_suggestion/create.html:189
|
||||
#: project/templates/widget/event_suggestion/create.html:214
|
||||
#: project/templates/widget/event_suggestion/create.html:242
|
||||
#: project/templates/widget/event_suggestion/create.html:265
|
||||
#: project/templates/widget/event_suggestion/create.html:298
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
@ -1158,31 +1164,36 @@ msgstr ""
|
||||
msgid "Please enter a valid time, between 00:00 and 23:59."
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1256
|
||||
#: project/templates/_macros.html:1242
|
||||
#, python-format
|
||||
msgid "Just use %(term)s"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1294
|
||||
msgid "Event suggestion"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1368
|
||||
#: project/templates/_macros.html:1406
|
||||
msgid "Link copied"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1368
|
||||
#: project/templates/_macros.html:1406
|
||||
msgid "Copy link"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1397
|
||||
#: project/templates/_macros.html:1435
|
||||
msgid "Google calendar"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1398
|
||||
#: project/templates/_macros.html:1436
|
||||
msgid "Apple calendar"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1399
|
||||
#: project/templates/_macros.html:1437
|
||||
msgid "Yahoo calendar"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/_macros.html:1400
|
||||
#: project/templates/_macros.html:1438
|
||||
msgid "Other calendar"
|
||||
msgstr ""
|
||||
|
||||
@ -1347,7 +1358,7 @@ msgstr ""
|
||||
|
||||
#: project/templates/admin_unit/create.html:49
|
||||
#: project/templates/admin_unit/update.html:50
|
||||
#: project/templates/event/create.html:400
|
||||
#: project/templates/event/create.html:346
|
||||
#: project/templates/event/update.html:202
|
||||
#: project/templates/event_place/create.html:47
|
||||
#: project/templates/event_place/update.html:47
|
||||
@ -1455,39 +1466,35 @@ msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:90
|
||||
#: project/templates/event/update.html:76
|
||||
#: project/templates/widget/event_suggestion/create.html:99
|
||||
msgid "Enter place or address"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:100
|
||||
#: project/templates/event/create.html:213
|
||||
#, python-format
|
||||
msgid "Just use %(term)s"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:203
|
||||
#: project/templates/event/create.html:176
|
||||
#: project/templates/event/update.html:99
|
||||
#: project/templates/widget/event_suggestion/create.html:124
|
||||
msgid "Enter organizer"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:292
|
||||
#: project/templates/event/create.html:238
|
||||
#: project/templates/event/update.html:129
|
||||
msgid "Event date"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:329
|
||||
#: project/templates/event/create.html:275
|
||||
msgid "Switch to organizer search"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:362
|
||||
#: project/templates/event/create.html:308
|
||||
msgid "Switch to place search"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:373
|
||||
#: project/templates/event/create.html:319
|
||||
#: project/templates/event/update.html:175
|
||||
msgid "Access"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event/create.html:387
|
||||
#: project/templates/event/create.html:333
|
||||
#: project/templates/event/update.html:189
|
||||
msgid "Target group"
|
||||
msgstr ""
|
||||
@ -1506,21 +1513,27 @@ msgstr ""
|
||||
msgid "Info"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review.html:9
|
||||
#: project/templates/event_suggestion/review.html:20
|
||||
#: project/templates/manage/reviews.html:19
|
||||
msgid "Review event suggestion"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review.html:17
|
||||
#: project/templates/event_suggestion/review.html:28
|
||||
#: project/templates/event_suggestion/review_status.html:24
|
||||
#: project/templates/reference_request/review_status.html:17
|
||||
msgid "View event"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review.html:21
|
||||
#: project/templates/event_suggestion/review.html:32
|
||||
msgid "Create event from suggestion"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review.html:53
|
||||
#: project/templates/reference_request/review.html:68
|
||||
#: project/templates/reference_request/review.html:93
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/event_suggestion/review_status.html:12
|
||||
msgid "You can visit this page again to check the status."
|
||||
msgstr ""
|
||||
@ -1659,27 +1672,22 @@ msgstr ""
|
||||
msgid "Update reference to event \"%(name)s\""
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/reference_request/review.html:46
|
||||
#: project/templates/reference_request/review.html:23
|
||||
msgid "Review event reference request"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/reference_request/review.html:66
|
||||
#: project/templates/reference_request/review.html:74
|
||||
#: project/templates/reference_request/review.html:92
|
||||
#: project/templates/reference_request/review.html:43
|
||||
#: project/templates/reference_request/review.html:51
|
||||
#: project/templates/reference_request/review.html:69
|
||||
msgid "Accept reference request"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/reference_request/review.html:67
|
||||
#: project/templates/reference_request/review.html:102
|
||||
#: project/templates/reference_request/review.html:119
|
||||
#: project/templates/reference_request/review.html:44
|
||||
#: project/templates/reference_request/review.html:79
|
||||
#: project/templates/reference_request/review.html:94
|
||||
msgid "Reject reference request"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/reference_request/review.html:91
|
||||
#: project/templates/reference_request/review.html:118
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/security/authorize.html:10
|
||||
#, python-format
|
||||
msgid "\"%(client_name)s\" wants to access your account"
|
||||
@ -1702,15 +1710,15 @@ msgstr ""
|
||||
msgid "Print"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:148
|
||||
#: project/templates/widget/event_suggestion/create.html:170
|
||||
msgid "Continue as guest"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:253
|
||||
#: project/templates/widget/event_suggestion/create.html:275
|
||||
msgid "Optional details"
|
||||
msgstr ""
|
||||
|
||||
#: project/templates/widget/event_suggestion/create.html:286
|
||||
#: project/templates/widget/event_suggestion/create.html:308
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
@ -1812,11 +1820,11 @@ msgstr ""
|
||||
msgid "Place successfully deleted"
|
||||
msgstr ""
|
||||
|
||||
#: project/views/event_suggestion.py:51
|
||||
#: project/views/event_suggestion.py:54
|
||||
msgid "Event suggestion successfully rejected"
|
||||
msgstr ""
|
||||
|
||||
#: project/views/event_suggestion.py:84
|
||||
#: project/views/event_suggestion.py:87
|
||||
#: project/views/reference_request_review.py:114
|
||||
msgid "Event review status updated"
|
||||
msgstr ""
|
||||
|
||||
@ -16,10 +16,13 @@ def event_suggestion_review(event_suggestion_id):
|
||||
event_suggestion = EventSuggestion.query.get_or_404(event_suggestion_id)
|
||||
access_or_401(event_suggestion.admin_unit, "event:verify")
|
||||
|
||||
form = RejectEventSuggestionForm(obj=event_suggestion)
|
||||
|
||||
return render_template(
|
||||
"event_suggestion/review.html",
|
||||
admin_unit=event_suggestion.admin_unit,
|
||||
event_suggestion=event_suggestion,
|
||||
form=form,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user