{% extends "base.html" %} {% block title %}Trust - ActingWeb{% endblock %} {% block content %}
| Peer | Relationship | Status | |
|---|---|---|---|
{{ peerid }}
{% if client_name %}{{ client_name }} {% endif %}
{% if peer_uri %}{{ peer_uri }} {% endif %}
{% if desc %}{{ desc }} {% endif %}
|
{{ rel }} {% if t is mapping and t.get('has_custom_permissions') %}custom perms{% endif %} | {% set status_label = t.get('status_label') if t is mapping else None %} {% if status_label %} {# Both sides of the trust: this actor's approval and the peer's. #} {{ status_label }} {% else %} {% if approved %}approved{% else %}pending{% endif %} {% if verified %}verified{% elif not approved %}unverified{% endif %} {% endif %} |
{% if not approved and approveuri and verified %}
{% elif not approved and approveuri %}
Cannot approve: pair from your side
{% endif %}
{% if approveuri %}
{% endif %}
|
Active: both sides approved. Waiting for peer: you approved, the peer has not yet approved or verified. Awaiting your approval: the peer approved, you have not. Awaiting both: neither side has approved. Unverified: the request did not verify and cannot be approved; create the trust toward the peer's URL to pair.
{% else %}No trust relationships yet.
{% endif %}| Client | Type | Created | Status |
|---|---|---|---|
{{ c.get('client_name', '') if c is mapping else '' }}
{{ c.get('client_id', '') if c is mapping else '' }} |
{{ c.get('trust_type', '') if c is mapping else '' }} | {{ c.get('created_at', '') if c is mapping else '' }} | {{ c.get('status', '') if c is mapping else '' }} |
| Peer | Established via | Created | Last connected |
|---|---|---|---|
{{ conn.get('peerid', '') if conn is mapping else '' }} |
{{ conn.get('established_via', '') if conn is mapping else '' }} | {{ conn.get('created_at', '') if conn is mapping else '' }} | {{ conn.get('last_connected_at', '') if conn is mapping else '' }} {% if conn is mapping and conn.get('last_connected_via') %} ({{ conn.get('last_connected_via') }}) {% endif %} |