Added gargoyle switch to enable key deletion

This commit is contained in:
2011-09-02 07:49:36 +01:00
parent 385030ce5d
commit 77c5efe5ee
4 changed files with 16 additions and 9 deletions

View File

@@ -114,7 +114,8 @@ setup.</p>
<td id="api-time-{{ acc.api_user_id }}">{{ acc.api_last_updated|naturaltimediff }}</td>
<td>{% ifswitch api-disableprocessing %}{% else %}<a href="{% url eve_api.views.eveapi_refresh acc.api_user_id %}" onclick="javascript:refresh_apikey({{ acc.api_user_id }}); return false;">Refresh</a>,&nbsp;
<a href="{% url eve_api.views.eveapi_update acc.api_user_id %}">Update Key</a>,&nbsp;{% endifswitch %}
<a href="{% url eve_api.views.eveapi_log acc.api_user_id %}">Logs</a>
<a href="{% url eve_api.views.eveapi_log acc.api_user_id %}">Logs</a>{% ifswitch eve-keydelete %},&nbsp;
<a href="{% url eve_api.views.eveapi_del acc.api_user_id %}">Delete</a>{% endifswitch %}
</tr>
{% endfor %}
</table>