Commit ad2de583 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Adding types to markers

parent 49d269ce
......@@ -44,6 +44,21 @@ use TYPO3\CMS\Fluid\View\StandaloneView;
*/
class MailTemplateService {
/**
* @var string
*/
const MARKER_TYPE_STRING = 'String';
/**
* @var string
*/
const MARKER_TYPE_DATE = 'Date';
/**
* @var string
*/
const MARKER_TYPE_INTEGER = 'Integer';
/**
* @var array $registerArray
*/
......
......@@ -61,6 +61,10 @@
<source>Value</source>
<target>Wert</target>
</trans-unit>
<trans-unit id="backend.type" approved="yes">
<source>Type</source>
<target>Typ</target>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr" approved="yes">
<source>Mail Templates</source>
<target>Mail Templates</target>
......
......@@ -48,6 +48,9 @@
<trans-unit id="backend.value">
<source>Value</source>
</trans-unit>
<trans-unit id="backend.type">
<source>Type</source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr">
<source>Mail Templates</source>
</trans-unit>
......
......@@ -15,6 +15,7 @@
<thead>
<tr>
<th><f:translate key="backend.marker" /></th>
<th><f:translate key="backend.type" /></th>
<th><f:translate key="backend.value" /></th>
<th><f:translate key="backend.description" /></th>
</tr>
......@@ -22,6 +23,11 @@
<f:for each="{selectedTemplate.marker}" as="marker">
<tr>
<td>{marker.marker}</td>
<td>
<f:if condition="{marker.type}">
<f:translate key="{marker.type}">{marker.type}</f:translate>
</f:if>
</td>
<td>
<f:if condition="{marker.value}">
<f:translate key="{marker.value}">{marker.value}</f:translate>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment