mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: problem_solution: optional copy link
This commit is contained in:
1 file changed
+5
-3
@@ -102,9 +102,11 @@
|
||||
{{ user.render_inline(udoc) }} @ {{ datetimeSpan(doc._id)|safe }}
|
||||
</div>
|
||||
<div class="dczcomments__operations nojs--hide">
|
||||
<a href="javascript:;" data-tooltip="{{ _('Copy Link') }}" data-copylink="{{ url('problem_solution_detail', pid=pdoc.pid|default(pdoc.docId), sid=doc._id) }}">
|
||||
<span class="icon icon-link"></span>
|
||||
</a>
|
||||
{% if pdoc %}
|
||||
<a href="javascript:;" data-tooltip="{{ _('Copy Link') }}" data-copylink="{{ url('problem_solution_detail', pid=pdoc.pid|default(pdoc.docId), sid=doc._id) }}">
|
||||
<span class="icon icon-link"></span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if handler.user.hasPerm(reply_post_perm) %}
|
||||
<a href="javascript:;" data-tooltip="{{ _('Reply') }}" data-op="reply" data-type="comment"
|
||||
data-form="{{ {operation: reply_post_op, psid: doc._id}|json }}"
|
||||
|
||||
Reference in new issue
Block a user