mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-22 17:06:09 +01:00
Extend date canceld form
This commit is contained in:
parent
55530ee062
commit
ce723b01bc
4 changed files with 35 additions and 10 deletions
|
@ -143,11 +143,22 @@ return [
|
|||
'exclude' => true,
|
||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_date.xlf:tx_events_domain_model_date.canceled',
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
'renderType' => 'checkboxToggle',
|
||||
'default' => 0,
|
||||
'type' => 'select',
|
||||
'renderType' => 'selectSingle',
|
||||
'default' => 'no',
|
||||
'items' => [
|
||||
['LLL:EXT:events/Resources/Private/Language/locallang_csh_date.xlf:tx_events_domain_model_date.canceled.yes'],
|
||||
'0' => [
|
||||
'0' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_date.xlf:tx_events_domain_model_date.canceled.options.no',
|
||||
'1' => 'no',
|
||||
],
|
||||
'1' => [
|
||||
'0' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_date.xlf:tx_events_domain_model_date.canceled.options.canceled',
|
||||
'1' => 'canceled',
|
||||
],
|
||||
'2' => [
|
||||
'0' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_date.xlf:tx_events_domain_model_date.canceled.options.postponed',
|
||||
'1' => 'postponed',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
|
@ -16,13 +16,21 @@
|
|||
<target>Ende</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.canceled">
|
||||
<source>Canceled?</source>
|
||||
<target>Abgesagt?</target>
|
||||
<source>Canceled or postponed?</source>
|
||||
<target>Abgesagt oder verschoben?</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.canceled.yes">
|
||||
<trans-unit id="tx_events_domain_model_date.canceled.options.no">
|
||||
<source>No</source>
|
||||
<target>Nein</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.canceled.options.canceled">
|
||||
<source>Canceled</source>
|
||||
<target>Abgesagt</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.canceled.options.postponed">
|
||||
<source>Postponed</source>
|
||||
<target>Verschoben</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.event">
|
||||
<source>Associated event</source>
|
||||
<target>Verknüpfte Veranstaltungen</target>
|
||||
|
|
|
@ -13,11 +13,17 @@
|
|||
<source>End</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.canceled">
|
||||
<source>Canceled?</source>
|
||||
<source>Canceled or postponed?</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.canceled.yes">
|
||||
<trans-unit id="tx_events_domain_model_date.canceled.options.no">
|
||||
<source>No</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.canceled.options.canceled">
|
||||
<source>Canceled</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.canceled.options.postponed">
|
||||
<source>Postponed</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_date.event">
|
||||
<source>Associated event</source>
|
||||
</trans-unit>
|
||||
|
|
|
@ -71,7 +71,7 @@ CREATE TABLE tx_events_domain_model_date (
|
|||
event int(11) unsigned DEFAULT '0' NOT NULL,
|
||||
start int(11) DEFAULT NULL,
|
||||
end int(11) DEFAULT NULL,
|
||||
canceled int(11) NOT NULL DEFAULT 0,
|
||||
canceled varchar(255) DEFAULT 'no' NOT NULL,
|
||||
KEY event (event),
|
||||
KEY dataHandler (event, t3ver_wsid, pid)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue