This commit is contained in:
undefined committed 2024-10-18 06:16:12 +08:00
1 parent affdadf3d2
commit 800e640070
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>