Commit 7fa8c200 authored by tomalo.stuttgart's avatar tomalo.stuttgart
Browse files

[FEATURE] #36151 extension links to detail view from own extension list.

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/terfe/branches/ter_fe2@62039 735d13b6-9817-0410-8766-e36946ffe9aa
parent f61d0d6c
......@@ -106,6 +106,11 @@ plugin.tx_terfe2 {
# cat=TER Frontend/settings/5070; type=boolean; label=Show review form: Show review form in detail view
reviewForm = 0
}
pages {
# cat=TER Frontend/settings/5500; type=int+; label=Detail PID: PID of extension detail view
extensionDetailPID = 23
}
}
persistence {
......
......@@ -49,6 +49,10 @@ plugin.tx_terfe2 {
tagOverview = {$plugin.tx_terfe2.settings.show.tagOverview}
# reviewForm = (see condition at file end)
}
pages {
extensionDetailPID = {$plugin.tx_terfe2.settings.pages.extensionDetailPID}
}
}
## Storage settings
......
......@@ -39,7 +39,15 @@
<tr class="{columCycle}">
<td style="border-right: 0;">
{extension.extKey}<br />
<f:if condition="{extension.versionCount} < 1">
<f:then>
{extension.extKey}
</f:then>
<f:else>
<f:link.action pageUid="{settings.pages.extensionDetailPID}" controller="Extension" action="show" arguments="{extension : extension}">{extension.extKey}</f:link.action>
</f:else>
</f:if>
<br />
<span class="b-comment-date"><f:if condition="{extension.versionCount} < 1"><f:then>
<f:translate key="tx_terfe2_domain_model_extension.versions.no" />
</f:then><f:else><f:if condition="{extension.versionCount} > 1"><f:then>
......
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