removed edit and delete links for transaction baked views

This commit is contained in:
Dario Rekowski on RockPI 2020-03-25 13:41:33 +00:00
parent f67d720102
commit 91924bad7e
3 changed files with 2 additions and 14 deletions

View File

@ -24,7 +24,7 @@
<div class="stateUsers view large-10 medium-9 columns content">
<h3><?= h($stateUser->first_name) ?> <?= h($stateUser->last_name) ?> &lt;<?= h($stateUser->email) ?>&gt;</h3>
<div class="related">
<h4><?= __('Related State Balances') ?></h4>
<h4><?= __('State Balance') ?></h4>
<?php if (!empty($stateUser->state_balances)): ?>
<table cellpadding="0" cellspacing="0">
<tr>
@ -38,8 +38,6 @@
<td><?= $this->element('printGradido', ['number' =>$stateBalances->amount]) ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['controller' => 'StateBalances', 'action' => 'view', $stateBalances->id]) ?>
<?= $this->Html->link(__('Edit'), ['controller' => 'StateBalances', 'action' => 'edit', $stateBalances->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['controller' => 'StateBalances', 'action' => 'delete', $stateBalances->id], ['confirm' => __('Are you sure you want to delete # {0}?', $stateBalances->id)]) ?>
</td>
</tr>
<?php endforeach; ?>
@ -47,7 +45,7 @@
<?php endif; ?>
</div>
<div class="related">
<h4><?= __('Related Transaction Creations') ?></h4>
<h4><?= __('Schöpfungen') ?></h4>
<?php if (!empty($stateUser->transaction_creations)): ?>
<table cellpadding="0" cellspacing="0">
<tr>
@ -68,8 +66,6 @@
<td title="<?= $memo ?>"><?= h(substr($memo, 0, 20). '...') ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['controller' => 'TransactionCreations', 'action' => 'view', $transactionCreations->id]) ?>
<?= $this->Html->link(__('Edit'), ['controller' => 'TransactionCreations', 'action' => 'edit', $transactionCreations->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['controller' => 'TransactionCreations', 'action' => 'delete', $transactionCreations->id], ['confirm' => __('Are you sure you want to delete # {0}?', $transactionCreations->id)]) ?>
</td>
</tr>
<?php endforeach; ?>
@ -103,8 +99,6 @@
<td><?= $this->element('printGradido', ['number' => $transactionReceiveCoins->sender_final_balance]) ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['controller' => 'TransactionSendCoins', 'action' => 'view', $transactionReceiveCoins->id]) ?>
<?= $this->Html->link(__('Edit'), ['controller' => 'TransactionSendCoins', 'action' => 'edit', $transactionReceiveCoins->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['controller' => 'TransactionSendCoins', 'action' => 'delete', $transactionReceiveCoins->id], ['confirm' => __('Are you sure you want to delete # {0}?', $transactionReceiveCoins->id)]) ?>
</td>
</tr>
<?php endforeach; ?>
@ -137,8 +131,6 @@
<td title="<?= $memo ?>"><?= h(substr($memo, 0, 20). '...') ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['controller' => 'TransactionSendCoins', 'action' => 'view', $transactionReceiveCoins->id]) ?>
<?= $this->Html->link(__('Edit'), ['controller' => 'TransactionSendCoins', 'action' => 'edit', $transactionReceiveCoins->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['controller' => 'TransactionSendCoins', 'action' => 'delete', $transactionReceiveCoins->id], ['confirm' => __('Are you sure you want to delete # {0}?', $transactionReceiveCoins->id)]) ?>
</td>
</tr>
<?php endforeach; ?>

View File

@ -37,8 +37,6 @@
<td><?= stream_get_contents($transactionCreation->ident_hash) ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['action' => 'view', $transactionCreation->id]) ?>
<?= $this->Html->link(__('Edit'), ['action' => 'edit', $transactionCreation->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $transactionCreation->id], ['confirm' => __('Are you sure you want to delete # {0}?', $transactionCreation->id)]) ?>
</td>
</tr>
<?php endforeach; ?>

View File

@ -37,8 +37,6 @@
<td><?= $this->Number->format($transactionSendCoin->sender_final_balance) ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['action' => 'view', $transactionSendCoin->id]) ?>
<?= $this->Html->link(__('Edit'), ['action' => 'edit', $transactionSendCoin->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $transactionSendCoin->id], ['confirm' => __('Are you sure you want to delete # {0}?', $transactionSendCoin->id)]) ?>
</td>
</tr>
<?php endforeach; ?>