Bugfixes Update
This commit is contained in:
@@ -1,13 +1,52 @@
|
||||
<table>
|
||||
<?php
|
||||
//debug($tabledata);
|
||||
foreach($tabledata as $line) {
|
||||
echo '<tr>';
|
||||
foreach($line as $cell) {
|
||||
echo '<td>' . $cell . '</td>';
|
||||
}
|
||||
echo '</tr>';
|
||||
}
|
||||
|
||||
/**
|
||||
* @var \App\View\AppView $this
|
||||
* @var \App\Model\Entity\Jira[]|\Cake\Collection\CollectionInterface $jiras
|
||||
*/
|
||||
?>
|
||||
</table>
|
||||
<nav class="large-3 medium-4 columns" id="actions-sidebar">
|
||||
<ul class="side-nav">
|
||||
<li class="heading"><?= __('Actions') ?></li>
|
||||
<li><?= $this->Html->link(__('New Jira'), ['action' => 'add']) ?></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="jiras index large-9 medium-8 columns content">
|
||||
<h3><?= __('Jiras') ?></h3>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><?= $this->Paginator->sort('id') ?></th>
|
||||
<th scope="col"><?= $this->Paginator->sort('name') ?></th>
|
||||
<th scope="col"><?= $this->Paginator->sort('created') ?></th>
|
||||
<th scope="col"><?= $this->Paginator->sort('modified') ?></th>
|
||||
<th scope="col" class="actions"><?= __('Actions') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($jiras as $jira): ?>
|
||||
<tr>
|
||||
<td><?= $this->Number->format($jira->id) ?></td>
|
||||
<td><?= h($jira->name) ?></td>
|
||||
<td><?= h($jira->created) ?></td>
|
||||
<td><?= h($jira->modified) ?></td>
|
||||
<td class="actions">
|
||||
<?= $this->Html->link(__('View'), ['action' => 'view', $jira->id]) ?>
|
||||
<?= $this->Html->link(__('Edit'), ['action' => 'edit', $jira->id]) ?>
|
||||
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $jira->id], ['confirm' => __('Are you sure you want to delete # {0}?', $jira->id)]) ?>
|
||||
<?= $this->Html->link(__('Show'), ['action' => 'show', $jira->id]) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="paginator">
|
||||
<ul class="pagination">
|
||||
<?= $this->Paginator->first('<< ' . __('first')) ?>
|
||||
<?= $this->Paginator->prev('< ' . __('previous')) ?>
|
||||
<?= $this->Paginator->numbers() ?>
|
||||
<?= $this->Paginator->next(__('next') . ' >') ?>
|
||||
<?= $this->Paginator->last(__('last') . ' >>') ?>
|
||||
</ul>
|
||||
<p><?= $this->Paginator->counter(['format' => __('Page {{page}} of {{pages}}, showing {{current}} record(s) out of {{count}} total')]) ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user