{% extends "base.html" %} {% load naturaltimediff %} {% load installed %} {% block content %}

{{user.username}}'s Profile

  • Username: {{ user.username }}
  • Active: {{ user.is_active }}
  • Email: {{ user.email }}
  • Groups: {{ user.groups.all|join:", " }}
  • {% if "hr"|installed %}
  • Blacklist Status: {% if blacklisted %}BLACKLISTED ({{ blacklisted }} items){% else %}OK{% endif %}
  • {% endif %}

    Update Access {% if "hr"|installed %} {% if perms.hr.can_add_blacklist %} Blacklist User {% endif %} {% endif %}

    {% if is_admin %}
    {% if services %}

    Service Accounts

    {% for acc in services %} {% endfor %}
    ServiceUsernameActive
    {{ acc.service }} {{ acc.service_uid }} {% if acc.active %}Yes{% else %}No{% endif %}
    {% endif %}
    {% if user.application_set.all %}

    Applications

    {% for app in user.application_set.all %} {% endfor %}
    IDCharacterApplied ToStatus
    {{ app.id }} {{ app.character }} {{ app.corporation }} {{ app.get_status_display }}
    {% endif %} {% if user.recommendation_set.all %}

    Recommendations

    {% for rec in user.recommendation_set.all %} {% endfor %}
    Recommended ApplicationRecommendation CharacterRecommendation Date
    {{ rec.application.character.name }} {{ rec.user_character }} {{ rec.recommendation_date }}
    {% endif %}

    Eve API Keys

    {% if user.eveaccount_set.all %} {% for acc in user.eveaccount_set.all %} {% endfor %}
    User IDAPI KeyDescriptionTypeActiveLast Updated
    {{ acc.api_user_id }} {{ acc.api_key }} {{ acc.description }} {{ acc.get_api_keytype_display }} {{ acc.get_api_status_display }} {{ acc.api_last_updated|naturaltimediff }}
    {% endif %}
    {% if user.eveaccount_set.all %} {% for acc in user.eveaccount_set.all %} {% for char in acc.characters.all %} {% endfor %} {% endfor %}
    Character NameCorp
    Account {{ acc.api_user_id }}
    {{ char.name }} {{ char.corporation }}
    {% endif %} {% if "reddit"|installed %}

    Reddit Accounts

    {% if user.redditaccount_set.all %} {% for acc in user.redditaccount_set.all %} {% endfor %}
    UsernameCreated DateValidated
    {{ acc.username }} {{ acc.date_created }} {% if acc.validated %}Yes{% else %}No{% endif %}
    {% endif %} {% endif %} {% endif %} {% endblock %}