2018-08-10 20:09:28 -04:00
|
|
|
<tr>
|
2023-12-21 13:46:15 -05:00
|
|
|
<?php if ($_->isAuthenticated()): ?>
|
2018-08-10 20:09:28 -04:00
|
|
|
<td>
|
|
|
|
<a class="bracketed"
|
2023-12-21 13:46:15 -05:00
|
|
|
href="<?= $_->urlFromRoute($collection_type . '.collection.edit.get', ['id' => $item['hummingbird_id']]) ?>">Edit</a>
|
2018-08-10 20:09:28 -04:00
|
|
|
</td>
|
|
|
|
<?php endif ?>
|
2018-11-02 10:48:20 -04:00
|
|
|
<td class="align-left">
|
2023-12-21 13:46:15 -05:00
|
|
|
<a href="<?= $_->urlFromRoute('anime.details', ['id' => $item['slug']]) ?>">
|
2018-08-10 20:09:28 -04:00
|
|
|
<?= $item['title'] ?>
|
|
|
|
</a>
|
2018-12-12 15:31:59 -05:00
|
|
|
<?= ! empty($item['alternate_title']) ? ' <br /><small> ' . $item['alternate_title'] . '</small>' : '' ?>
|
2018-08-10 20:09:28 -04:00
|
|
|
</td>
|
2020-08-26 17:26:42 -04:00
|
|
|
<?php if ($hasMedia): ?>
|
|
|
|
<td><?= implode(', ', $item['media']) ?></td>
|
|
|
|
<?php endif ?>
|
2020-04-30 15:30:52 -04:00
|
|
|
<td><?= ($item['episode_count'] > 1) ? $item['episode_count'] : '-' ?></td>
|
2020-05-01 19:33:51 -04:00
|
|
|
<td><?= $item['episode_length'] ?></td>
|
2018-08-10 20:09:28 -04:00
|
|
|
<td><?= $item['show_type'] ?></td>
|
|
|
|
<td><?= $item['age_rating'] ?></td>
|
2023-12-21 13:46:15 -05:00
|
|
|
<?php if ($hasNotes): ?><td class="align-left"><?= nl2br($item['notes'] ?? '', TRUE) ?></td><?php endif ?>
|
2018-11-02 10:48:20 -04:00
|
|
|
<td class="align-left"><?= implode(', ', $item['genres']) ?></td>
|
2018-08-10 20:09:28 -04:00
|
|
|
</tr>
|