File tree Expand file tree Collapse file tree
packages/ui-default/templates/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 142142 {% if handler.user.hasPerm(reply_post_perm) %}
143143 < a href ="javascript:; " data-tooltip ="{{ _('Reply') }} " data-op ="reply " data-type ="reply "> < span class ="icon icon-reply "> </ span > </ a >
144144 {% endif %}
145- {% if (handler.user.hasPerm(reply_edit_self_perm) and handler.user.own(doc )) or handler.user.hasPerm(reply_edit_perm) %}
145+ {% if (handler.user.hasPerm(reply_edit_self_perm) and handler.user.own(rdoc )) or handler.user.hasPerm(reply_edit_perm) %}
146146 < a href ="javascript:; " data-tooltip ="{{ _('Edit') }} " data-op ="edit " data-type ="reply "
147147 data-form ="{{ {operation: reply_edit_op, psid: doc._id, psrid: rdoc._id}|json }} "
148148 > < span class ="icon icon-edit "> </ span > </ a >
149149 {% endif %}
150- {% if (handler.user.hasPerm(reply_delete_self_perm) and handler.user.own(doc )) or handler.user.hasPerm(reply_delete_perm) %}
150+ {% if (handler.user.hasPerm(reply_delete_self_perm) and handler.user.own(rdoc )) or handler.user.hasPerm(reply_delete_perm) %}
151151 < a href ="javascript:; " data-tooltip ="{{ _('Delete') }} " data-op ="delete " data-type ="reply "
152152 data-form ="{{ {operation: reply_delete_op, psid: doc._id, psrid: rdoc._id}|json }} "
153153 > < span class ="icon icon-delete "> </ span > </ a >
You can’t perform that action at this time.
0 commit comments