Skip to content
Snippets Groups Projects
Commit 1e282299 authored by damjan's avatar damjan
Browse files

[BUGFIX] Style improvement and default value added

parent ce790e49
No related branches found
No related tags found
No related merge requests found
......@@ -35,21 +35,26 @@
<table class="table">
<tbody>
<tr>
<tr class="no-borders">
<td class="table-left-col"><h4>TYPO3 version range</h4></td>
<td class="table-right-col">{selectedType.minVersion} - {selectedType.maxVersion}</td>
<td class="table-right-col">{selectedType.minVersion} - {f:if( condition: '{selectedType.maxVersion}', then: '{selectedType.maxVersion}', else: 'current')}</td>
</tr>
<tr>
<tr class="no-borders">
<td class="table-left-col"><h4>Extends</h4></td>
<td class="table-right-col">
<f:link.action package="SGalinski.TypoScriptReferenceFrontend" controller="tsref" action="index"
arguments="{typeId: selectedType.parent_id}">
{superType.name}
</f:link.action>
<f:if condition="{selectedType.parent_id}">
<f:then>
<f:link.action package="SGalinski.TypoScriptReferenceFrontend" controller="tsref" action="index"
arguments="{typeId: selectedType.parent_id}">
{superType.name}
</f:link.action>
</f:then>
<f:else> -</f:else>
</f:if>
</td>
</tr>
<f:if condition="{properties}">
<tr>
<tr class="no-borders">
<td class="table-left-col"><h4>Properties</h4></td>
<td class="table-right-col">
<f:for each="{properties}" as="propertyIterator">
......@@ -61,11 +66,11 @@
<table class="table">
<tbody>
<tr>
<td class="table-left-col">TYPO3 version range</td>
<tr class="no-borders">
<td class="table-left-col"><h4>TYPO3 version range</h4></td>
<td class="table-right-col">{propertyIterator.property.minVersion} - {propertyIterator.property.maxVersion}</td>
</tr>
<tr>
<tr class="no-borders">
<td class="table-left-col"><h4>Type</h4></td>
<td class="table-right-col">
<f:link.action package="SGalinski.TypoScriptReferenceFrontend" controller="tsref" action="index"
......@@ -74,6 +79,12 @@
</f:link.action>
</td>
</tr>
<tr class="no-borders">
<td class="table-left-col"><h4>Default value</h4></td>
<td class="table-right-col">
{propertyIterator.property.default}
</td>
</tr>
</tbody>
</table>
<br>
......@@ -84,7 +95,6 @@
</tbody>
</table>
</div>
</div>
</div>
</div>
......
......@@ -7,3 +7,7 @@
vertical-align: middle;
text-align: left;
}
.table>tbody>tr.no-borders {
border-style: hidden;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment