mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
template: problem_list
This commit is contained in:
1 parent
fc26af30ef
commit
2e23d05a59
28 files changed
+357
-270
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{% macro render_item(icon_name, page_name, label=none) %}
|
||||
<li class="menu__item" id="menu-item-{{ page_name }}">
|
||||
{% set target_url = reverse_url(page_name, **kwargs) %}
|
||||
{% set target_url = reverse_url(page_name, args) %}
|
||||
<a href="{{ target_url }}" class="menu__link{% if handler.request.path_qs == target_url %} active{% endif %}">
|
||||
{% if icon_name %}
|
||||
<span class="icon icon-{{ icon_name }}"></span>
|
||||
|
||||
Reference in new issue
Block a user