Ссылки теперь без base_url()
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user