{% if id != 0 and g.fas_user and comment.parent.status in [True, 'Open'] %}
-
+
{% endif %}
- {% if id != 0 and g.fas_user and (
- comment.parent.status in [True, 'Open'] and g.fas_user.username == comment.user.username) %}
+ {% if id != 0 and g.fas_user and repo_admin or (
+ comment.parent.status in [True, 'Open']
+ and g.fas_user.username == comment.user.username) %}
+ '%s/comment/%s/edit' % (request.base_url, comment.id) }}"
+ data-comment="{{ comment.id }}" data-objid="{{ issueid }}">
{% endif %}
- {% if id != 0 and g.fas_user and (
- comment.parent.status in [True, 'Open'] and g.fas_user.username == comment.user.username) %}
-