{% extends "ci/base.html" %}
{% load static %}
{% load bootstrap %}
{% load seed %}
{% block pagetitle %}Identity Management{% endblock %}
{% block content %}
User Details
Unique ID: | {{ identity.id }} |
Created: | {{ identity.created_at|get_date|date:"D d M Y H:i" }} |
Last Updated: | {{ identity.updated_at|get_date|date:"D d M Y H:i" }} |
Communicate Through: |
{% if identity.communicate_through %}
{% url 'identities-detail' identity.communicate_through as url %}
{{ identity.communicate_through|truncatechars:12 }} |
{% else %}
{{ identity.communicate_through }} |
{% endif %}
Default Address: |
{% with addresses=identity|get_identity_addresses %}
{% for address, info in addresses.items %}{{ address }}{% endfor %} |
{% endwith %}
{% for key, value in identity.details.items %}
{% if not value|is_dict %}
{{ key|unslug|title }}: |
{{ value }} |
{% endif %}
{% endfor %}
{% if optout_visible == True %}
{% endif %}
Addresses
Address Type |
Address |
Extra Information |
{% for address_type, addresses in identity.details.addresses.items %}
{% for address, info in addresses.items %}
{{ address_type }} |
{{ address }} |
{% for k, v in info.items %}{{ k|title }}: {{ v }} {% endfor %} |
{% endfor %}
{% endfor %}
Registrations
Registration |
Validated |
Stage |
Created |
Updated |
{% for registration in registrations.results %}
{% url 'registrations-detail' registration.id as url %}
{{ registration.id|truncatechars:12 }} |
{{ registration.validated }} |
{{ registration.stage }} |
{{ registration.created_at|get_date|date:"D d M Y H:i" }} |
{{ registration.updated_at|get_date|date:"D d M Y H:i" }} |
{% endfor %}
Changes
Change |
Validated |
Action |
Created |
Updated |
{% for change in changes.results %}
{% url 'changes-detail' change.id as url %}
{{ change.id|truncatechars:12 }} |
{{ change.validated }} |
{{ change.action }} |
{{ change.created_at|get_date|date:"D d M Y H:i" }} |
{{ change.updated_at|get_date|date:"D d M Y H:i" }} |
{% endfor %}
Subscriptions
Subscription |
Set |
Next |
Language |
Active |
Completed |
Created |
Last Updated |
|
{% for subscription in subscriptions.results|dictsortreversed:'active' %}
{% url 'subscriptions-detail' subscription.id as url %}
{{ subscription.id|truncatechars:12 }} |
{{ messagesets|get_item:subscription.messageset }} |
{{ subscription.next_sequence_number }} |
{{ subscription.lang }} |
{{ subscription.active }} |
{{ subscription.completed }} |
{{ subscription.created_at|get_date|date:"D d M Y H:i" }} |
{{ subscription.updated_at|get_date|date:"D d M Y H:i" }} |
{% if subscription.active == True %}
{% endif %}
|
{% endfor %}
Messages sent to user
Delivered |
Attempts |
Content |
Created |
Last Updated |
{% for outbound in outbound_messages %}
{{ outbound.delivered }} |
{{ outbound.attempts }} |
{% if outbound.content %}
{{ outbound.content }}
{% elif outbound.metadata.voice_speech_url %}
{{outbound.metadata.voice_speech_url}}
{% else %}
Content not found.
{% endif %}
|
{{ outbound.created_at|get_date|date:"D d M Y H:i" }} |
{{ outbound.updated_at|get_date|date:"D d M Y H:i" }} |
{% endfor %}
Inbound Messages
To Address |
Content |
Created Date |
Last Updated Date |
{% for inbound in inbound_messages %}
{{ inbound.to_addr }} |
{{ inbound.content }} |
{{ inbound.created_at|get_date|date:"D d M Y H:i" }} |
{{ inbound.updated_at|get_date|date:"D d M Y H:i" }} |
{% endfor %}
History
Timestamp |
Action |
Model |
User |
Subscription |
Detail |
{% for audit in audit_logs.results %}
{{ audit.action_at|get_date|date:"D d M Y H:i" }} |
{{ audit.action_name }} |
{{ audit.model|title }} |
{{ audit|get_user:users }} |
{% if audit.subscription_id %}
{% url 'subscriptions-detail' audit.subscription_id as url %}
{{ audit.subscription_id|truncatechars:12 }} |
{% else %}
|
{% endif %}
{% if audit.detail %} {{ audit.detail }} {% endif %} |
{% endfor %}
{% endblock %}