Ссылки теперь без base_url()

This commit is contained in:
2025-05-12 21:57:22 +08:00
parent 176e084bfb
commit d4927354d9
3 changed files with 12 additions and 12 deletions

View File

@@ -51,7 +51,7 @@
{% elseif playlist.isOnline is same as(null) %}
<span class="badge small bg-secondary text-dark" title="Не проверялся">unknown</span>
{% endif %}
<a href="{{ base_url(code ~ '/details') }}" class="text-light fw-bold text-decoration-none">{{ playlist.name }}</a>
<a href="/{{ code }}/details" class="text-light fw-bold text-decoration-none">{{ playlist.name }}</a>
<div class="small mt-2">
{% if playlist.description|length > 0 %}
<p class="my-1 d-none d-lg-block">{{ playlist.description }}</p>
@@ -64,7 +64,7 @@
{% endfor %}
</p>
{% endif %}
<a href="{{ base_url(code ~ '/details') }}" class="text-light">Подробнее...</a>
<a href="/{{ code }}/details" class="text-light">Подробнее...</a>
</div>
</td>
<td class="text-center">
@@ -96,7 +96,7 @@
</li>
{% else %}
<li class="page-item">
<a class="page-link bg-dark border-secondary text-light" href="{{ base_url('page/' ~ page) }}">{{ page }}</a>
<a class="page-link bg-dark border-secondary text-light" href="page/{{ page }}">{{ page }}</a>
</li>
{% endif %}
{% endfor %}