{% extends request.is_ajax|yesno:"base_ajax.html,base_rigs.html" %} {% load static %} {% load linkornone from filters %} {% block js %} {% endblock %} {% block content %} {% if not request.is_ajax and object.pk == user.pk %}
{% endif %}{{user.api_key}}
{% else %}
No API Key Generated
{% endif %}
{% if user.api_key %}Reset API Key{% else %}Generate API Key{% endif %}
No API Key Generated{% endif %}