+++ /dev/null
-<nav class="large-3 medium-4 columns" id="actions-sidebar">
- <ul class="side-nav">
- <li class="heading"><?= __('Actions') ?></li>
- <li><?= $this->Html->link(__('New Relationships User'), ['action' => 'add']) ?></li>
- <li><?= $this->Html->link(__('List Users'), ['controller' => 'Users', 'action' => 'index']) ?></li>
- <li><?= $this->Html->link(__('New User'), ['controller' => 'Users', 'action' => 'add']) ?></li>
- <li><?= $this->Html->link(__('List Relationships'), ['controller' => 'Relationships', 'action' => 'index']) ?></li>
- <li><?= $this->Html->link(__('New Relationship'), ['controller' => 'Relationships', 'action' => 'add']) ?></li>
- </ul>
-</nav>
-<div class="relationshipsUsers index large-9 medium-8 columns content">
- <h3><?= __('Relationships Users') ?></h3>
- <table cellpadding="0" cellspacing="0">
- <thead>
- <tr>
- <th><?= $this->Paginator->sort('id') ?></th>
- <th><?= $this->Paginator->sort('user_id') ?></th>
- <th><?= $this->Paginator->sort('recipient_id') ?></th>
- <th><?= $this->Paginator->sort('relationship_id') ?></th>
- <th><?= $this->Paginator->sort('created') ?></th>
- <th><?= $this->Paginator->sort('modified') ?></th>
- <th class="actions"><?= __('Actions') ?></th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($relationshipsUsers as $relationshipsUser): ?>
- <tr>
- <td><?= $this->Number->format($relationshipsUser->id) ?></td>
- <td><?= $this->Number->format($relationshipsUser->user_id) ?></td>
- <td><?= $relationshipsUser->has('user') ? $this->Html->link($relationshipsUser->user->id, ['controller' => 'Users', 'action' => 'view', $relationshipsUser->user->id]) : '' ?></td>
- <td><?= $relationshipsUser->has('relationship') ? $this->Html->link($relationshipsUser->relationship->name, ['controller' => 'Relationships', 'action' => 'view', $relationshipsUser->relationship->id]) : '' ?></td>
- <td><?= h($relationshipsUser->created) ?></td>
- <td><?= h($relationshipsUser->modified) ?></td>
- <td class="actions">
- <?= $this->Html->link(__('View'), ['action' => 'view', $relationshipsUser->id]) ?>
- <?= $this->Html->link(__('Edit'), ['action' => 'edit', $relationshipsUser->id]) ?>
- <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $relationshipsUser->id], ['confirm' => __('Are you sure you want to delete # {0}?', $relationshipsUser->id)]) ?>
- </td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
- <div class="paginator">
- <ul class="pagination">
- <?= $this->Paginator->prev('< ' . __('previous')) ?>
- <?= $this->Paginator->numbers() ?>
- <?= $this->Paginator->next(__('next') . ' >') ?>
- </ul>
- <p><?= $this->Paginator->counter() ?></p>
- </div>
-</div>