1
|
|
|
<?php |
|
|
|
|
2
|
|
|
/** |
|
|
|
|
3
|
|
|
* @var \App\View\AppView $this |
|
|
|
|
4
|
|
|
* @var \App\Model\Entity\Organization $organization |
|
|
|
|
5
|
|
|
*/ |
|
|
|
|
6
|
|
|
?> |
7
|
|
|
<nav class="large-3 medium-4 columns" id="actions-sidebar"> |
|
|
|
|
8
|
|
|
<ul class="side-nav"> |
9
|
|
|
<li class="heading"><?= __('Actions') ?></li> |
10
|
|
|
<li><?= $this->Html->link(__('Edit Organization'), ['action' => 'edit', $organization->id]) ?> </li> |
11
|
|
|
<li><?= $this->Form->postLink(__('Delete Organization'), ['action' => 'delete', $organization->id], ['confirm' => __('Are you sure you want to delete # {0}?', $organization->id)]) ?> </li> |
12
|
|
|
<li><?= $this->Html->link(__('List Organizations'), ['action' => 'index']) ?> </li> |
13
|
|
|
<li><?= $this->Html->link(__('New Organization'), ['action' => 'add']) ?> </li> |
14
|
|
|
<li><?= $this->Html->link(__('List Users'), ['controller' => 'Users', 'action' => 'index']) ?> </li> |
15
|
|
|
<li><?= $this->Html->link(__('New User'), ['controller' => 'Users', 'action' => 'add']) ?> </li> |
16
|
|
|
</ul> |
17
|
|
|
</nav> |
18
|
|
|
<div class="organizations view large-9 medium-8 columns content"> |
19
|
|
|
<h3><?= h($organization->name) ?></h3> |
20
|
|
|
<table class="vertical-table"> |
21
|
|
|
<tr> |
22
|
|
|
<th scope="row"><?= __('Name') ?></th> |
23
|
|
|
<td><?= h($organization->name) ?></td> |
24
|
|
|
</tr> |
25
|
|
|
<tr> |
26
|
|
|
<th scope="row"><?= __('User') ?></th> |
27
|
|
|
<td><?= $organization->has('user') ? $this->Html->link($organization->user->id, ['controller' => 'Users', 'action' => 'view', $organization->user->id]) : '' ?></td> |
|
|
|
|
28
|
|
|
</tr> |
29
|
|
|
<tr> |
30
|
|
|
<th scope="row"><?= __('Id') ?></th> |
31
|
|
|
<td><?= $this->Number->format($organization->id) ?></td> |
32
|
|
|
</tr> |
33
|
|
|
<tr> |
34
|
|
|
<th scope="row"><?= __('Created') ?></th> |
35
|
|
|
<td><?= h($organization->created) ?></td> |
36
|
|
|
</tr> |
37
|
|
|
<tr> |
38
|
|
|
<th scope="row"><?= __('Modified') ?></th> |
39
|
|
|
<td><?= h($organization->modified) ?></td> |
40
|
|
|
</tr> |
41
|
|
|
</table> |
42
|
|
|
</div> |
43
|
|
|
|