Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 84a6f118dc | |||
| 3176e6e414 |
@@ -15,6 +15,37 @@
|
|||||||
width: 400px;
|
width: 400px;
|
||||||
height: 600px;
|
height: 600px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.module-event-edit .filepond--root .filepond--drop-label {
|
||||||
|
height: 100%;
|
||||||
|
inset: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-event-edit .filepond--root .filepond--drop-label label {
|
||||||
|
display: block;
|
||||||
|
width: auto;
|
||||||
|
float: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-event-edit .filepond--root .filepond--drop-label,
|
||||||
|
.module-event-edit .filepond--root .filepond--drop-label label,
|
||||||
|
.module-event-edit .filepond--root .filepond--file-action-button {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-event-edit .filepond--root .filepond--image-preview-wrapper {
|
||||||
|
background: #f7f7f7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-event-edit .filepond--root .filepond--image-preview-overlay-idle,
|
||||||
|
.module-event-edit .filepond--root .filepond--image-preview-overlay-success,
|
||||||
|
.module-event-edit .filepond--root .filepond--image-preview-overlay-failure {
|
||||||
|
background: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/choices.js/public/assets/scripts/choices.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/choices.js/public/assets/scripts/choices.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
|
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
|
||||||
|
|||||||
@@ -13,6 +13,37 @@
|
|||||||
width: 400px;
|
width: 400px;
|
||||||
height: 400px;
|
height: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.module-organization-edit .filepond--root .filepond--drop-label {
|
||||||
|
height: 100%;
|
||||||
|
inset: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-organization-edit .filepond--root .filepond--drop-label label {
|
||||||
|
display: block;
|
||||||
|
width: auto;
|
||||||
|
float: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-organization-edit .filepond--root .filepond--drop-label,
|
||||||
|
.module-organization-edit .filepond--root .filepond--drop-label label,
|
||||||
|
.module-organization-edit .filepond--root .filepond--file-action-button {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-organization-edit .filepond--root .filepond--image-preview-wrapper {
|
||||||
|
background: #f7f7f7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-organization-edit .filepond--root .filepond--image-preview-overlay-idle,
|
||||||
|
.module-organization-edit .filepond--root .filepond--image-preview-overlay-success,
|
||||||
|
.module-organization-edit .filepond--root .filepond--image-preview-overlay-failure {
|
||||||
|
background: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/choices.js/public/assets/scripts/choices.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/choices.js/public/assets/scripts/choices.min.js"></script>
|
||||||
<script src="https://unpkg.com/filepond/dist/filepond.min.js"></script>
|
<script src="https://unpkg.com/filepond/dist/filepond.min.js"></script>
|
||||||
|
|||||||
@@ -70,10 +70,9 @@ class OrganizationEditController extends AbstractFrontendModuleController
|
|||||||
$formData = [
|
$formData = [
|
||||||
'title' => (string) ($organization['title'] ?? ''),
|
'title' => (string) ($organization['title'] ?? ''),
|
||||||
'street' => (string) ($organization['street'] ?? ''),
|
'street' => (string) ($organization['street'] ?? ''),
|
||||||
|
'street2' => (string) ($organization['street2'] ?? ''),
|
||||||
'postal' => (string) ($organization['postal'] ?? ''),
|
'postal' => (string) ($organization['postal'] ?? ''),
|
||||||
'city' => (string) ($organization['city'] ?? ''),
|
'city' => (string) ($organization['city'] ?? ''),
|
||||||
'state' => (string) ($organization['state'] ?? ''),
|
|
||||||
'country' => (string) ($organization['country'] ?? ''),
|
|
||||||
'phone' => (string) ($organization['phone'] ?? ''),
|
'phone' => (string) ($organization['phone'] ?? ''),
|
||||||
'email' => (string) ($organization['email'] ?? ''),
|
'email' => (string) ($organization['email'] ?? ''),
|
||||||
'website' => (string) ($organization['website'] ?? ''),
|
'website' => (string) ($organization['website'] ?? ''),
|
||||||
|
|||||||
@@ -20,10 +20,9 @@ class OrganizationType extends AbstractType
|
|||||||
$builder
|
$builder
|
||||||
->add('title', TextType::class, ['label' => 'Titel', 'required' => true])
|
->add('title', TextType::class, ['label' => 'Titel', 'required' => true])
|
||||||
->add('street', TextType::class, ['label' => 'Straße', 'required' => false])
|
->add('street', TextType::class, ['label' => 'Straße', 'required' => false])
|
||||||
|
->add('street2', TextType::class, ['label' => 'Weitere Adressangaben', 'required' => false])
|
||||||
->add('postal', TextType::class, ['label' => 'PLZ', 'required' => false])
|
->add('postal', TextType::class, ['label' => 'PLZ', 'required' => false])
|
||||||
->add('city', TextType::class, ['label' => 'Ort', 'required' => false])
|
->add('city', TextType::class, ['label' => 'Ort', 'required' => false])
|
||||||
->add('state', TextType::class, ['label' => 'Bundesland', 'required' => false])
|
|
||||||
->add('country', TextType::class, ['label' => 'Land', 'required' => false])
|
|
||||||
->add('phone', TextType::class, ['label' => 'Telefon', 'required' => false])
|
->add('phone', TextType::class, ['label' => 'Telefon', 'required' => false])
|
||||||
->add('email', EmailType::class, ['label' => 'E-Mail', 'required' => false])
|
->add('email', EmailType::class, ['label' => 'E-Mail', 'required' => false])
|
||||||
->add('website', TextType::class, ['label' => 'Webseite', 'required' => false])
|
->add('website', TextType::class, ['label' => 'Webseite', 'required' => false])
|
||||||
|
|||||||
@@ -71,10 +71,9 @@ class OrganizationRepository
|
|||||||
[
|
[
|
||||||
'title' => $data['title'] ?? '',
|
'title' => $data['title'] ?? '',
|
||||||
'street' => $data['street'] ?? '',
|
'street' => $data['street'] ?? '',
|
||||||
|
'street2' => $data['street2'] ?? '',
|
||||||
'postal' => $data['postal'] ?? '',
|
'postal' => $data['postal'] ?? '',
|
||||||
'city' => $data['city'] ?? '',
|
'city' => $data['city'] ?? '',
|
||||||
'state' => $data['state'] ?? '',
|
|
||||||
'country' => $data['country'] ?? '',
|
|
||||||
'phone' => $data['phone'] ?? '',
|
'phone' => $data['phone'] ?? '',
|
||||||
'email' => $data['email'] ?? '',
|
'email' => $data['email'] ?? '',
|
||||||
'website' => $data['website'] ?? '',
|
'website' => $data['website'] ?? '',
|
||||||
|
|||||||
Reference in New Issue
Block a user