Version 5.1 - All the GraphQL #32
@ -10,10 +10,13 @@ $extraSegment = $lastSegment === 'list' ? '/list' : '';
|
|||||||
<h1 class="flex flex-align-end flex-wrap">
|
<h1 class="flex flex-align-end flex-wrap">
|
||||||
<span class="flex-no-wrap grow-1">
|
<span class="flex-no-wrap grow-1">
|
||||||
<?php if(strpos($route_path, 'collection') === FALSE): ?>
|
<?php if(strpos($route_path, 'collection') === FALSE): ?>
|
||||||
<?= $whose . ucfirst($url_type) . ' List' ?>
|
<?= $helper->a(
|
||||||
|
$urlGenerator->defaultUrl($url_type),
|
||||||
|
$whose . ucfirst($url_type) . ' List'
|
||||||
|
) ?>
|
||||||
<?php if($config->get("show_{$url_type}_collection")): ?>
|
<?php if($config->get("show_{$url_type}_collection")): ?>
|
||||||
[<?= $helper->a(
|
[<?= $helper->a(
|
||||||
$url->generate('collection.view'),
|
$url->generate('collection.view') . $extraSegment,
|
||||||
ucfirst($url_type) . ' Collection'
|
ucfirst($url_type) . ' Collection'
|
||||||
) ?>]
|
) ?>]
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
@ -23,8 +26,8 @@ $extraSegment = $lastSegment === 'list' ? '/list' : '';
|
|||||||
) ?>]
|
) ?>]
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?= $whose . ucfirst($url_type) . ' Collection' ?>
|
<?= $whose . ucfirst($url_type) . ' Collection' ?>
|
||||||
[<?= $helper->a($urlGenerator->defaultUrl('anime'), 'Anime List') ?>]
|
[<?= $helper->a($urlGenerator->defaultUrl('anime') . $extraSegment, 'Anime List') ?>]
|
||||||
[<?= $helper->a($urlGenerator->defaultUrl('manga'), 'Manga List') ?>]
|
[<?= $helper->a($urlGenerator->defaultUrl('manga') . $extraSegment, 'Manga List') ?>]
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user