Fix collection episode length/count, display newlines in notes
This commit is contained in:
parent
ee18d407a2
commit
9344d98056
@ -35,7 +35,7 @@
|
|||||||
<td><?= $item['episode_length'] ?></td>
|
<td><?= $item['episode_length'] ?></td>
|
||||||
<td><?= $item['show_type'] ?></td>
|
<td><?= $item['show_type'] ?></td>
|
||||||
<td><?= $item['age_rating'] ?></td>
|
<td><?= $item['age_rating'] ?></td>
|
||||||
<td class="align-left"><?= $item['notes'] ?></td>
|
<td class="align-left"><?= nl2br($item['notes'], TRUE) ?></td>
|
||||||
<td class="align-left"><?= implode(', ', $item['genres']) ?></td>
|
<td class="align-left"><?= implode(', ', $item['genres']) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
@ -11,10 +11,10 @@
|
|||||||
</a>
|
</a>
|
||||||
<?= ! empty($item['alternate_title']) ? ' <br /><small> ' . $item['alternate_title'] . '</small>' : '' ?>
|
<?= ! empty($item['alternate_title']) ? ' <br /><small> ' . $item['alternate_title'] . '</small>' : '' ?>
|
||||||
</td>
|
</td>
|
||||||
<td><?= $item['episode_count'] ?></td>
|
|
||||||
<td><?= ($item['episode_count'] > 1) ? $item['episode_count'] : '-' ?></td>
|
<td><?= ($item['episode_count'] > 1) ? $item['episode_count'] : '-' ?></td>
|
||||||
|
<td><?= $item['episode_length'] ?></td>
|
||||||
<td><?= $item['show_type'] ?></td>
|
<td><?= $item['show_type'] ?></td>
|
||||||
<td><?= $item['age_rating'] ?></td>
|
<td><?= $item['age_rating'] ?></td>
|
||||||
<?php if ($hasNotes): ?><td class="align-left"><?= $item['notes'] ?></td><?php endif ?>
|
<?php if ($hasNotes): ?><td class="align-left"><?= nl2br($item['notes'], TRUE) ?></td><?php endif ?>
|
||||||
<td class="align-left"><?= implode(', ', $item['genres']) ?></td>
|
<td class="align-left"><?= implode(', ', $item['genres']) ?></td>
|
||||||
</tr>
|
</tr>
|
Loading…
Reference in New Issue
Block a user