{% extends "site_base.html" %} {% load i18n %} {% load bootstrap_tags %} {% load thumbnail %} {% load comments %} {% block head_title %}{% trans "Agent" %}: {{ agent.name }}{% endblock %} {% block extra_head %} {% endblock %} {% block body_class %}x{% endblock %} {% block body_base %}
{% include "_messages.html" %} {{ agent.agent_type }}: {{ agent.name }} {% if agent.is_individual %} {% trans "Contributions" %}: {{ agent.contributions_count }} {% else %} {% trans "Contributions" %}: {{ agent.contributions_count }} {% endif %} {% if agent.is_context_agent %} {% trans "Distributions" %} {% trans "Active Orders" %} {% trans "Timeline" %} {% endif %} {% trans "Association Graph" %} {% trans "Maintain Associations" %} {% trans "All Agents" %}
{% if user.is_staff %} {% trans "Change" %} {% if use_faircoin and not agent.faircoin_address %}
{% csrf_token %}
{% endif %} {% endif %} {% if user.is_staff and agent.is_deletable %}
{% csrf_token %}
{% endif %} {% if user.is_staff and user_form %} {% trans "Create User" %} {% endif %} {% if agent.is_context and user_agent %}
{% csrf_token %} Create an internal exchange in this context: {{ nav_form.exchange_type }}
{% endif %} {% if user_agent %} {% endif %} {% if user.is_staff and user_form %} {% endif %} {% if agent.is_context_agent %}

{% trans "Cumulative Time" %}

{% trans "Last 2 months" %}

{% trans "Forever" %}

{% trans "Roles" %}

{% endif %}
{% if user_agent and agent.username %} {% endif %} {% if agent.unit_of_claim_value %} {% endif %} {% if agent.url %} {% endif %} {% if agent.description %} {% endif %} {% if user_agent %} {% if agent.email %} {% endif %} {% endif %} {% if agent.faircoin_address %} {% endif %} {% if agent.photo %} {% elif agent.photo_url %} {% endif %} {% if agent.reputation %} {% endif %} {% if membership_request %} {% endif %}
{% trans "ID" %} {{ agent.nick }}
{% trans "Username" %} {{ agent.username }}
{% trans "Full Name" %} {{ agent.name }}
{% trans "Type" %} {{ agent.agent_type.name }}
{% trans "Unit of claim value" %} {{ agent.unit_of_claim_value }}
{% trans "URL" %} {% trans "Open" %}
{% trans "Description" %} {{ agent.description|urlize|linebreaks }}
{% trans "Email" %} {{ agent.email }}
{% trans "Work Location" %} {% if user_agent %} {% if agent.primary_location %} {{ agent.primary_location.address }}
{% trans "Change on map" %} {% else %} {% trans "Add on map" %} {% endif %} {% endif %}
{% trans "FairCoin address" %} {{ agent.faircoin_address }}
{% trans "Photo" %}
{% trans "Photo" %}
{% trans "Reputation" %} {{ agent.reputation }}
{% trans "Record created date" %} {{ agent.created_date }}
{% trans "Record created by" %} {{ agent.created_by }}
{% trans "Membership request information" %}
{% trans "Native language" %} {{ membership_request.native_language }}
{% trans "Type of membership" %} {{ membership_request.type_of_membership }}
{% trans "Description from membership request" %} {{ membership_request.description }}
{% trans "Website" %} {{ membership_request.website }}
{% trans "FairNetwork username" %} {{ membership_request.fairnetwork }}
{% trans "UseFaircoin profile" %} {{ membership_request.usefaircoin }}
{% trans "FairMarket shop" %} {{ membership_request.fairmarket }}

{{ agent.name }} {% trans "is associated with " %}:

    {% for assoc in is_associated_with %} {% ifchanged assoc.association_type %}

    {{ assoc.association_type.label }}:

    {% endifchanged %}
  • {{ assoc.has_associate.name }} {% if assoc.state == "potential" %} ({{ assoc.get_state_display }}) {% endif %}
  • {% endfor %}
{% if has_associations %}

{{ agent.name }} {% trans "has these associates " %}:

    {% for assoc in has_associations %} {% ifchanged assoc.association_type %}

    {{ assoc.association_type.inverse_label }}:

    {% endifchanged %}
  • {{ assoc.is_associate.name }} {% if assoc.state == "potential" %} ({{ assoc.get_state_display }}) {% endif %} {% with assoc.is_associate.membership_request as mreq %} {% if mreq %}   {% trans "Membership discussion" %} {% get_comment_count for mreq as comment_count %} {% if comment_count %} - {{ comment_count }} {% if comment_count == 1 %} {% trans "comment" %} {% else %} {% trans "comments" %} {% endif %} {% endif %} {% endif %} {% endwith %}
  • {% endfor %}
{% endif %}
{% comment %}

{% trans "Virtual Account for" %} {{ agent.name }}:

{% trans "Current balance" %}: 1750.63 {% trans "Details
{% endcomment %} {% if agent.is_individual %}

{% trans "Cumulative Contributions" %}

{% endif %}

{% trans "Resources" %}:

{% if agent.resources_created %}

{% trans "Resources Created" %}:

{% endif %} {% if agent.resource_relationships %}

{% trans "Resource Relationships" %}:

    {% for rel in agent.resource_relationships %} {% ifchanged rel.role %}

    {{ rel.role.name }}

    {% endifchanged %}
  • {{ rel.resource }}
  • {% endfor %}
{% endif %}

{% trans "Active Processes" %}:

{% if agent.active_processes %}
    {% for process in agent.active_processes %}
  • {{ process }}
  • {% endfor %}
{% else %}

{% trans "None" %}

{% endif %}
{% endblock %} {% block extra_script %} {% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}