Commit d563d947 authored by Dirk Wildt's avatar Dirk Wildt

0.0.6

parent f767fcf6
......@@ -2,6 +2,7 @@
19-06-29
Feature
* #t3857: Relation cell <> product
* #t3854: Type clone
* #t3818: Workflow Group
* #t3815: New field tx_tile_domain_model_cell.ticket
Affectd files:
......
......@@ -120,7 +120,11 @@ class ShopController extends AbstractController
// uid, pid
unset( $properties[ 'uid' ] );
// type
$properties[ 'displaycell' ] = 0; // clone
$properties[ 'pid' ] = $pid;
$properties[ 'type' ] = 1; // clone
// image
// #t3849, 190702, dwildt: next line doesn't work
......
<?php
$confArr = unserialize( $GLOBALS[ 'TYPO3_CONF_VARS' ][ 'EXT' ][ 'extConf' ][ 'tile' ] );
$tca = [
'ctrl' => [
'title' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'default_sortby' => 'ORDER BY title',
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'hideTable' => $confArr[ 'tcaReadonly' ],
'readOnly' => $confArr[ 'tcaReadonly' ],
'rootLevel' => -1,
// 'delete' => 'deleted',
'enablecolumns' => [
// 'disabled' => 'hidden',
// 'starttime' => 'starttime',
// 'endtime' => 'endtime',
],
'searchFields' => 'title,leny',
'iconfile' => 'EXT:tile/Resources/Public/Icons/tx_tile_domain_model_area.gif',
'thumbnail' => 'image',
'type' => 'type',
// 'typeicon_column' => 'type',
// 'typeicon_classes' => \Netzmacher\Org\TCA\Ctrl\Icons::TypeIconClasses( 'tx_org_cal' ),
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, type, lenx, leny, tx_tile_cell',
],
'types' => [
'0' => [ 'showitem' => ''
. 'promptReadonly, '
// . 'sys_language_uid, l10n_parent, l10n_diffsource, '
// . 'hidden, '
. 'title, type, '
// . 'lenx, leny, '
. 'image, '
// . 'tx_tile_cell, '
// . '--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, '
// . 'starttime, endtime'
],
'1' => [ 'showitem' => ''
. 'promptReadonly, '
// . 'sys_language_uid, l10n_parent, l10n_diffsource, '
// . 'hidden, '
. 'title, type, '
// . 'lenx, leny, '
. 'image, '
. 'tx_tile_cell, '
// . '--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, '
// . 'starttime, endtime'
],
],
'columns' => [
'sys_language_uid' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'special' => 'languages',
'items' => [
[
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages',
-1,
'flags-multiple'
]
],
'default' => 0,
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'default' => 0,
'items' => [
[ '', 0 ],
],
'foreign_table' => 'tx_tile_domain_model_area',
'foreign_table_where' => 'AND {#tx_tile_domain_model_area}.{#pid}=###CURRENT_PID### AND {#tx_tile_domain_model_area}.{#sys_language_uid} IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
],
],
'hidden' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.visible',
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [
[
0 => '',
1 => '',
'invertStateDisplay' => true
]
],
],
],
'promptReadonly' => [
'label' => 'LLL:EXT:tile/Resources/Private/Language/TCA/prompt.xlf:readonly.label',
'config' => [
'type' => 'user',
'renderType' => 'Prompt',
'parameters' => [
'prompt' => 'editImage',
],
],
],
'starttime' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'eval' => 'datetime,int',
'default' => 0,
'behaviour' => [
'allowLanguageSynchronization' => true
]
],
],
'endtime' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'eval' => 'datetime,int',
'default' => 0,
'range' => [
'upper' => mktime( 0, 0, 0, 1, 1, 2038 )
],
'behaviour' => [
'allowLanguageSynchronization' => true
]
],
],
'title' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.title',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'type' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.type',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
[ 'Kacheln nicht anzeigen (empfohlen)', 0 ],
[ 'Kacheln zeigen (lange Ladezeit!)', 1 ],
],
'size' => 1,
'maxitems' => 1,
'eval' => 'required',
'default' => 0
],
],
'lenx' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.lenx',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int,required'
]
],
'leny' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.leny',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int,required'
],
],
'image' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image', [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
]
],
'maxitems' => 1
], $GLOBALS[ 'TYPO3_CONF_VARS' ][ 'GFX' ][ 'imagefile_ext' ]
),
],
'tx_tile_cell' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.tx_tile_cell',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_tile_domain_model_cell',
'foreign_field' => 'tx_tile_area',
'maxitems' => 9999,
'appearance' => [
'collapseAll' => 1,
'levelLinksPosition' => 'top',
'showSynchronizationLink' => 1,
'showPossibleLocalizationRecords' => 1,
'showAllLocalizationLink' => 1
],
],
],
],
];
<?php
$confArr = unserialize( $GLOBALS[ 'TYPO3_CONF_VARS' ][ 'EXT' ][ 'extConf' ][ 'tile' ] );
$tca = [
'ctrl' => [
'title' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'default_sortby' => 'ORDER BY title',
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'hideTable' => $confArr[ 'tcaReadonly' ],
'readOnly' => $confArr[ 'tcaReadonly' ],
'rootLevel' => -1,
// 'delete' => 'deleted',
'enablecolumns' => [
// 'disabled' => 'hidden',
// 'starttime' => 'starttime',
// 'endtime' => 'endtime',
],
'searchFields' => 'title,leny',
'iconfile' => 'EXT:tile/Resources/Public/Icons/tx_tile_domain_model_area.gif',
'thumbnail' => 'image',
'type' => 'type',
// 'typeicon_column' => 'type',
// 'typeicon_classes' => \Netzmacher\Org\TCA\Ctrl\Icons::TypeIconClasses( 'tx_org_cal' ),
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, type, lenx, leny, tx_tile_cell',
],
'types' => [
'0' => [ 'showitem' => ''
. 'promptReadonly, '
// . 'sys_language_uid, l10n_parent, l10n_diffsource, '
// . 'hidden, '
. 'title, type, '
// . 'lenx, leny, '
. 'image, '
// . 'tx_tile_cell, '
// . '--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, '
// . 'starttime, endtime'
],
'1' => [ 'showitem' => ''
. 'promptReadonly, '
// . 'sys_language_uid, l10n_parent, l10n_diffsource, '
// . 'hidden, '
. 'title, type, '
// . 'lenx, leny, '
. 'image, '
. 'tx_tile_cell, '
// . '--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, '
// . 'starttime, endtime'
],
],
'columns' => [
'sys_language_uid' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'special' => 'languages',
'items' => [
[
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages',
-1,
'flags-multiple'
]
],
'default' => 0,
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'default' => 0,
'items' => [
[ '', 0 ],
],
'foreign_table' => 'tx_tile_domain_model_area',
'foreign_table_where' => 'AND {#tx_tile_domain_model_area}.{#pid}=###CURRENT_PID### AND {#tx_tile_domain_model_area}.{#sys_language_uid} IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
],
],
'hidden' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.visible',
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [
[
0 => '',
1 => '',
'invertStateDisplay' => true
]
],
],
],
'promptReadonly' => [
'label' => 'LLL:EXT:tile/Resources/Private/Language/TCA/prompt.xlf:readonly.label',
'config' => [
'type' => 'user',
'renderType' => 'Prompt',
'parameters' => [
'prompt' => 'editImage',
],
],
],
'starttime' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'eval' => 'datetime,int',
'default' => 0,
'behaviour' => [
'allowLanguageSynchronization' => true
]
],
],
'endtime' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'eval' => 'datetime,int',
'default' => 0,
'range' => [
'upper' => mktime( 0, 0, 0, 1, 1, 2038 )
],
'behaviour' => [
'allowLanguageSynchronization' => true
]
],
],
'title' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.title',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'type' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.type',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
[ 'Kacheln nicht anzeigen (empfohlen)', 0 ],
[ 'Kacheln zeigen (lange Ladezeit!)', 1 ],
],
'size' => 1,
'maxitems' => 1,
'eval' => 'required',
'default' => 0
],
],
'lenx' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.lenx',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int,required'
]
],
'leny' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.leny',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int,required'
],
],
'image' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image', [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
]
],
'maxitems' => 1
], $GLOBALS[ 'TYPO3_CONF_VARS' ][ 'GFX' ][ 'imagefile_ext' ]
),
],
'tx_tile_cell' => [
'exclude' => true,
'label' => 'LLL:EXT:tile/Resources/Private/Language/locallang_db.xlf:tx_tile_domain_model_area.tx_tile_cell',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_tile_domain_model_cell',
'foreign_field' => 'tx_tile_area',
'maxitems' => 9999,
'appearance' => [
'collapseAll' => 1,
'levelLinksPosition' => 'top',
'showSynchronizationLink' => 1,
'showPossibleLocalizationRecords' => 1,
'showAllLocalizationLink' => 1
],
],
],
],
];
\ No newline at end of file
......@@ -7,13 +7,9 @@
<source>Site Plan</source>
<target>Plan</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.title">
<source>Title</source>
<target>Name</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.type">
<source>Type</source>
<target>Typ</target>
<trans-unit id="tx_tile_domain_model_area.displaycell">
<source>Display tiles (can take a long time)</source>
<target>Kacheln anzeigen (kann lange dauern)</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.lenx">
<source>Length</source>
......@@ -23,10 +19,26 @@
<source>Depth</source>
<target>Tiefe</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.title">
<source>Title</source>
<target>Name</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.tx_tile_cell">
<source>Tile</source>
<target>Kachel</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.type">
<source>Type</source>
<target>Typ</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.type.clone">
<source>Live</source>
<target>Live</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.type.template">
<source>Template</source>
<target>Entwurf</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_category">
<source>Category</source>
<target>Kategorie</target>
......
......@@ -7,13 +7,9 @@
<source>Site Plan</source>
<target>Plan</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.title">
<source>Title</source>
<target>Name</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.type">
<source>Type</source>
<target>Typ</target>
<trans-unit id="tx_tile_domain_model_area.displaycell">
<source>Display tiles (can take a long time)</source>
<target>Kacheln anzeigen (kann lange dauern)</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.lenx">
<source>Length</source>
......@@ -23,10 +19,26 @@
<source>Depth</source>
<target>Tiefe</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.title">
<source>Title</source>
<target>Name</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.tx_tile_cell">
<source>Tile</source>
<target>Kachel</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.type">
<source>Type</source>
<target>Typ</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.type.clone">
<source>Live</source>
<target>Live</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_area.type.template">
<source>Template</source>
<target>Entwurf</target>
</trans-unit>
<trans-unit id="tx_tile_domain_model_category">
<source>Category</source>
<target>Kategorie</target>
......
......@@ -68,8 +68,14 @@
<div class="{vh:Get.CssClass(uidGroup: cell.txTileTicket, uidCell: cell.uid, class: '{cssForGroup}', default: '')}">
<div class="{vh:Get.CssClass(uidTicket: cell.txTileTicket, uidCell: cell.uid, class: '{cssForTicket}', default: '')}">
<div class="{vh:Get.CssClass(uidCategory: cell.txTileCategory, uidCell: cell.uid, class: '{cssForCategory}', default: '{cssClassUndefinedCell}')}">
<f:link.action action="updatecell" controller="Category" arguments="{cell : cell, area : area}" title="{cell.title}{vh:Get.CategoryField(uid: cell.txTileCategory, field: 'title', default: '', prefix: ', ')}">&nbsp;</f:link.action>
<a href="#" title = "{cell.title}">&nbsp;</a>
<f:if condition="{area.type}=1">
<f:then>
<a href="#" title="[Ein Live-Objekt kann nicht verändert werden!] {vh:Get.GroupField(uid: cell.txTileGroup.uid, field: 'title', default: '', prefix: '')}{vh:Get.TicketField(uid: cell.txTileTicket, field: 'title', default: '', prefix: ', ')}{vh:Get.TicketField(uid: cell.txTileTicket, field: 'price', currency: 'EUR', default: '', locale: 'de_DE', prefix: '')}">&nbsp;</a>
</f:then>
<f:else>
<f:link.action action="updatecell" controller="Category" arguments="{cell : cell, area : area}" title="{cell.title}{vh:Get.CategoryField(uid: cell.txTileCategory, field: 'title', default: '', prefix: ', ')}">&nbsp;</f:link.action>
</f:else>
</f:if>
</div>
</div>
</div>
......
......@@ -30,6 +30,10 @@
<th>&nbsp;</th>
</tr>
<f:for each="{areas}" as="area">
<f:variable name="cssDisabled"></f:variable>
<f:if condition="{area.type}=1">
<f:variable name="cssDisabled"> disabled</f:variable>
</f:if>
<tr>
<td><f:link.action action="show" arguments="{area : area}" controller="Area"> {area.title}</f:link.action></td>
<td><f:link.action action="show" arguments="{area : area}" controller="Area"> {area.lenx} x {area.leny}</f:link.action></td>
......@@ -39,7 +43,7 @@
<td><f:link.action action="deleteconfirm" arguments="{area : area}" controller="Area" class="btn btn-block btn-xs btn-default">Löschen</f:link.action></td>
<td><f:link.action action="enable" arguments="{area : area}" controller="Category" class="btn btn-block btn-xs btn-default">Objekte</f:link.action></td>
<td><f:link.action action="enable" arguments="{area : area}" controller="Ticket" class="btn btn-block btn-xs btn-default">Tickets</f:link.action></td>
<td><f:link.action action="createconfirm" arguments="{area : area}" controller="Shop" class="btn btn-block btn-xs btn-default">Go live!</f:link.action></td>
<td><f:link.action action="createconfirm" arguments="{area : area}" controller="Shop" class="btn btn-block btn-xs btn-default {cssDisabled}">Go live!</f:link.action></td>
</tr>
</f:for>
<tr class="white">
......
......@@ -67,8 +67,14 @@
<div class="{vh:Get.CssClass(uidGroup: cell.txTileTicket, uidCell: cell.uid, class: '{cssForGroup}', default: '')}">
<div class="{vh:Get.CssClass(uidTicket: cell.txTileTicket, uidCell: cell.uid, class: '{cssForTicket}', default: '')}">
<div class="{vh:Get.CssClass(uidCategory: cell.txTileCategory, uidCell: cell.uid, class: '{cssForCategory}', default: '{cssClassUndefinedCell}')}">
<f:link.action action="updatecell" controller="Ticket" arguments="{cell : cell, area : area}" title="{vh:Get.GroupField(uid: cell.txTileGroup.uid, field: 'title', default: '', prefix: '')}{vh:Get.TicketField(uid: cell.txTileTicket, field: 'title', default: '', prefix: ', ')}{vh:Get.TicketField(uid: cell.txTileTicket, field: 'price', currency: 'EUR', default: '', locale: 'de_DE', prefix: '')}">&nbsp;</f:link.action>
<a href="#" title = "{cell.title}">&nbsp;</a>
<f:if condition="{area.type}=1">
<f:then>
<a href="#" title="[Ein Live-Objekt kann nicht verändert werden!] {vh:Get.GroupField(uid: cell.txTileGroup.uid, field: 'title', default: '', prefix: '')}{vh:Get.TicketField(uid: cell.txTileTicket, field: 'title', default: '', prefix: ', ')}{vh:Get.TicketField(uid: cell.txTileTicket, field: 'price', currency: 'EUR', default: '', locale: 'de_DE', prefix: '')}">&nbsp;</a>
</f:then>
<f:else>
<f:link.action action="updatecell" controller="Ticket" arguments="{cell : cell, area : area}" title="{vh:Get.GroupField(uid: cell.txTileGroup.uid, field: 'title', default: '', prefix: '')}{vh:Get.TicketField(uid: cell.txTileTicket, field: 'title', default: '', prefix: ', ')}{vh:Get.TicketField(uid: cell.txTileTicket, field: 'price', currency: 'EUR', default: '', locale: 'de_DE', prefix: '')}">&nbsp;</f:link.action>
</f:else>
</f:if>
</div>
</div>
</div>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16pt"
version="1.1"
height="16pt"
viewBox="0 0 16 16"
id="svg56"
sodipodi:docname="ext_icon_clone.svg"