You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% elif perms|add_type:application.type.name|has_application_perm:'can_review_dubious_application' and application.status == application.STATUS_DUBIOUS or application.status == application.STATUS_NEEDS_CHANGE %}
214
+
{% elif application.type.dubious_enabled and perms|add_type:application.type.name|has_application_perm:'can_review_dubious_application' and application.status == application.STATUS_DUBIOUS or application.status == application.STATUS_NEEDS_CHANGE %}
{% if application.status != application.STATUS_DUBIOUS and application.status != application.STATUS_NEEDS_CHANGE %}
236
+
{% if application.type.dubious_enabled and application.status != application.STATUS_DUBIOUS and application.status != application.STATUS_NEEDS_CHANGE and application.status != application.STATUS_BLOCKED %}
230
237
<buttonclass="btn btn-warning" onclick="mark_dubious()">{% translate 'Mark as dubious' %}</button>
{% if application.type.blocklist and application.status == application.STATUS_BLOCKED and perms|add_type:application.type.name|has_application_perm:'can_review_blocked_application' %}
247
+
<aclass="btn btn-primary" href="{% url 'change_status_application' application.get_uuid application.STATUS_PENDING %}?next={{ request.get_path }}" onclick="return confirm('{% translate "Thisapplicationwillbeunblocked.Areyousure?" %}')">{% translate 'This should not be blocked' %}</a>
0 commit comments