Commit e9c40e88 authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

Merge branch 'bugfix_3288-missing-icons-in-be-modules' into 'master'

[BUGFIX] fix missing BE module icons

See merge request !7
parents 72dd6fd1 f7d6ac80
......@@ -13,26 +13,40 @@
<f:if condition="{isSiteRoot}">
<f:if condition="{optins -> f:count()} <= 0">
<div class="form-group">
<f:if condition="{sg:backend.isVersionHigherThan(version: '9.0.0')}">
<f:if condition="{sg:backend.isVersionHigherThan(version: '10.0.0')}">
<f:then>
<f:link.action action="create" class="btn btn-default form-group ">
<span class="t3js-icon icon icon-size-small icon-state-default icon-actions-document-new">
<span class="t3js-icon icon icon-size-small icon-state-default icon-actions-document-new" data-identifier="actions-document-new">
<span class="icon-markup">
<img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-document-new.svg" width="16" height="16">
<svg class="icon-color" role="img"><use xlink:href="/typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-document-add"></use></svg>
</span>
</span>
<f:translate key="backend.createRecord" />
</f:link.action>
</f:then>
<f:else>
<a href="#" class="btn btn-default form-group" onclick="{sg:backend.editOnClick(table: 'tx_sgcookieoptin_domain_model_optin', uid: pageUid, new: 1)}">
<span class="t3js-icon icon icon-size-small icon-state-default icon-actions-document-new">
<span class="icon-markup">
<img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-document-new.svg" width="16" height="16">
</span>
</span>
<f:translate key="backend.createRecord" />
</a>
<f:if condition="{sg:backend.isVersionHigherThan(version: '9.0.0')}">
<f:then>
<f:link.action action="create" class="btn btn-default form-group ">
<span class="t3js-icon icon icon-size-small icon-state-default icon-actions-document-new">
<span class="icon-markup">
<img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-document-new.svg" width="16" height="16">
</span>
</span>
<f:translate key="backend.createRecord" />
</f:link.action>
</f:then>
<f:else>
<a href="#" class="btn btn-default form-group" onclick="{sg:backend.editOnClick(table: 'tx_sgcookieoptin_domain_model_optin', uid: pageUid, new: 1)}">
<span class="t3js-icon icon icon-size-small icon-state-default icon-actions-document-new">
<span class="icon-markup">
<img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-document-new.svg" width="16" height="16">
</span>
</span>
<f:translate key="backend.createRecord" />
</a>
</f:else>
</f:if>
</f:else>
</f:if>
</div>
......
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