|
@@ -52,8 +52,10 @@
|
|
|
{% if not project.is_internal_project %}
|
|
|
<a href="{% url 'sentry-remove-project' project.organization.slug project.slug %}" class="btn btn-danger">{% trans "Remove Project" %}</a>
|
|
|
{% else %}
|
|
|
- <p class="pull-right">{% trans "This project cannot be removed. It is used internally by the Sentry server." %}</p>
|
|
|
+ <a class="btn btn-danger disabled tip" title="{% trans "This project cannot be removed. It is used internally by the Sentry server." %}">{% trans "Remove Project" %}</a>
|
|
|
{% endif %}
|
|
|
+ {% else %}
|
|
|
+ <a class="btn btn-danger disabled tip" title="{% trans "You do not have the required permission to remove this project." %}">{% trans "Remove Project" %}</a>
|
|
|
{% endif %}
|
|
|
</div>
|
|
|
</form>
|