mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: fix
This commit is contained in:
1 file changed
+1
@@ -38,6 +38,7 @@
|
||||
{% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) and not tdoc %}
|
||||
<form class="form--inline" action="" method="post">
|
||||
<input type="hidden" name="star" value="{{ 'true' if not psdoc.star else 'false' }}">
|
||||
<input type="hidden" name="operation" value="star">
|
||||
<button class="star{% if psdoc.star %} activated{% endif %}" type="submit">
|
||||
<span class="starred--hide"><span class="icon icon-star--outline" data-tooltip="{{ _('Star') }}"></span></span>
|
||||
<span class="starred--show"><span class="icon icon-star" data-tooltip="{{ _('Unstar') }}"></span></span>
|
||||
|
||||
Reference in new issue
Block a user