mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: add discussion history (#450)
Co-authored-by: 无限UCW <45730483+wuxianucw@users.noreply.github.com> Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
14 files changed
+227
-45
No files matched your search
@@ -84,6 +84,16 @@
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if ui.getNodes('UserDropdown').length %}
|
||||
<li class="menu__seperator"></li>
|
||||
{%- for item in ui.getNodes('UserDropdown') -%}
|
||||
<li class="menu__item nojs--hide">
|
||||
<a href="{{ url(item.name) }}" class="menu__link">
|
||||
<span class="icon icon-{{ item.args.icon }}"></span> {{ _(item.args.displayName or item.name) }}
|
||||
</a>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
{% endif %}
|
||||
<li class="menu__seperator"></li>
|
||||
{% if handler.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM) %}
|
||||
<li class="menu__item nojs--hide">
|
||||
|
||||
Reference in new issue
Block a user