Skip to content

Commit

Permalink
[TASK] extcode#4 - use new core api for backend modul link
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lorenz committed Aug 17, 2018
1 parent 6eea666 commit fc73ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 47 deletions.
45 changes: 0 additions & 45 deletions Classes/ViewHelpers/Backend/EditRecordViewHelper.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
xmlns:cart="http://typo3.org/ns/Extcode/Cart/ViewHelpers"
data-namespace-typo3-fluid="true">
Expand Down Expand Up @@ -66,8 +67,7 @@
title="{f:translate(key: 'tx_cartproducts.controller.product.action.show')}">
<core:icon identifier="actions-view" />
</a>
<a class="btn btn-default" href="{cart:backend.editRecord(parameters: 'edit[tx_cartproducts_domain_model_product_product][{product.uid}]=edit&returnUrl={returnUrl}')}"><core:icon identifier="actions-open" /></a>
{cart:backend.removeRecord(product: product)}
<a class="btn btn-default" href="{be:uri.editRecord(table: 'tx_cartproducts_domain_model_product_product', uid: product.uid)}"><core:icon identifier="actions-open" /></a>
</div>
</td>
</tr>
Expand Down

0 comments on commit fc73ab2

Please sign in to comment.