Make it possible to fully delete unlisted/unrated extensions #81
@ -91,10 +91,14 @@
|
||||
<span>{% trans 'Submit for Approval' %}</span>
|
||||
</button>
|
||||
|
||||
{% with cannot_be_deleted_reasons=extension.cannot_be_deleted_reasons %}
|
||||
{% if not cannot_be_deleted_reasons %}
|
||||
<a href="{{ extension.get_delete_url }}" class="btn btn-danger">
|
||||
<i class="i-trash"></i>
|
||||
<span>{% trans 'Delete Extension' %}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user