<?php
/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\Jira $jira
 */
?>
<nav class="large-3 medium-4 columns" id="actions-sidebar">
    <ul class="side-nav">
        <li class="heading"><?= __('Actions') ?></li>
        <li><?= $this->Html->link(__('Edit Jira'), ['action' => 'edit', $jira->id]) ?> </li>
        <li><?= $this->Form->postLink(__('Delete Jira'), ['action' => 'delete', $jira->id], ['confirm' => __('Are you sure you want to delete # {0}?', $jira->id)]) ?> </li>
        <li><?= $this->Html->link(__('List Jiras'), ['action' => 'index']) ?> </li>
        <li><?= $this->Html->link(__('New Jira'), ['action' => 'add']) ?> </li>
    </ul>
</nav>
<div class="jiras view large-9 medium-8 columns content">
    <h3><?= h($jira->name) ?></h3>
    <table class="vertical-table">
        <tr>
            <th scope="row"><?= __('Name') ?></th>
            <td><?= h($jira->name) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Id') ?></th>
            <td><?= $this->Number->format($jira->id) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Created') ?></th>
            <td><?= h($jira->created) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Modified') ?></th>
            <td><?= h($jira->modified) ?></td>
        </tr>
    </table>
    <div class="row">
        <h4><?= __('Tickets') ?></h4>
        <?= $this->Text->autoParagraph(h($jira->tickets)); ?>
    </div>
</div>
