Refreshing API keys now degrades gracefully

This commit is contained in:
2011-06-06 14:18:26 +01:00
parent 8a7601552f
commit 3cb678dbb2

View File

@@ -109,7 +109,7 @@ setup.</p>
<td>{{ acc.get_api_keytype_display }}</td>
<td id="api-status-{{ acc.api_user_id }}">{{ acc.get_api_status_display }}</td>
<td id="api-time-{{ acc.api_user_id }}">{{ acc.api_last_updated|naturaltimediff }}</td>
<td><a href="javascript:refresh_apikey({{ acc.api_user_id }})">Refresh</a>,&nbsp;
<td><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;
<a href="{% url eve_api.views.eveapi_log acc.api_user_id %}">Logs</a>,&nbsp;
<a href="{% url eve_api.views.eveapi_del acc.api_user_id %}">Delete</a></td>