{% extends "base.html" %} {# Copyright The IETF Trust 2015, All Rights Reserved #} {% load origin %} {% load ietf_filters %} {% block title %}Liaison statement: {% include 'liaisons/liaison_title.html' %}{% endblock %} {% block content %} {% origin %}

Liaison statement
{% include 'liaisons/liaison_title.html' %}

{% include "liaisons/detail_tabs.html" %} {% if liaison.from_contact %} {% endif %} {% if liaison.to_contacts %} {% endif %} {% if liaison.cc_contacts %} {% endif %} {% if liaison.response_contacts %} {% endif %} {% if liaison.technical_contacts %} {% endif %} {% if liaison.action_holder_contacts %} {% endif %} {% if liaison.deadline %} {% endif %} {% if relations %} {% endif %} {% if liaison.related_to %} {% if liaison.related_to.approved or is_approving %} {% endif %} {% endif %} {% if liaison.other_identifiers %} {% endif %} {% if relations_by %} {% endif %} {% if relations_to %} {% endif %} {% if liaison.from_contact and liaison.body %} {% endif %}
State {{ liaison.state }}
Submitted Date {{ liaison.submitted|date:"Y-m-d" }}
From Group{{ liaison.from_groups.all|pluralize }} {{ liaison.from_groups_display }}
From Contact {{ liaison.from_contact.person }}
To Group{{ liaison.to_groups.all|pluralize }} {{ liaison.to_groups_display }}
To Contacts {{ liaison.to_contacts|parse_email_list|make_one_per_line|safe|linebreaksbr }}
Cc{{ liaison.cc_contacts|parse_email_list|make_one_per_line|safe|linebreaksbr }}
Response Contact {{ liaison.response_contacts|parse_email_list|make_one_per_line|safe|linebreaksbr }}
Technical Contact {{ liaison.technical_contacts|parse_email_list|make_one_per_line|safe|linebreaksbr }}
Action Holder Contacts {{ liaison.action_holder_contacts|parse_email_list|make_one_per_line|safe|linebreaksbr }}
Purpose {{ liaison.purpose.name }}
Deadline {{ liaison.deadline }} {% if liaison.action_taken %} Action Taken {% else %} Action Needed {% endif %} {% if can_take_care %}
{% csrf_token %}
{% endif %}
Liaisons referring to this {% for rel in relations %} {% if rel.title %}{{ rel.title }}{% else %}Liaison #{{ rel.pk }}{% endif %}
{% endfor %}
Referenced liaison {% if liaison.related_to.title %}{{ liaison.related_to.title }}{% else %}Liaison #{{ liaison.related_to.pk }}{% endif %}
Other Identifiers {{ liaison.other_identifiers }}
Attachments {% for doc in liaison.active_attachments.all %} {{ doc.title }} {% if not forloop.last %}
{% endif %} {% empty %} (None) {% endfor %}
Liaisons referred by this one {% for rel in relations_by %} {% if rel.title %}{{ rel.title }}{% else %}Liaison #{{ rel.pk }}{% endif %}
{% endfor %}
Liaisons referring to this one {% for rel in relations_to %} {% if rel.title %}{{ rel.title }}{% else %}Liaison #{{ rel.pk }}{% endif %}
{% endfor %}
Body
{{ liaison.body|maybewordwrap:"80" }}
{% csrf_token %} {% if liaison.state.slug == 'pending' and can_edit %} Edit liaison {% elif liaison.state.slug == 'posted' and user|has_role:"Secretariat" %} Edit liaison {% endif %} {% if liaison.state.slug != 'dead' and can_reply %} Reply to liaison {% endif %} {% if liaison.state.slug == 'pending' and can_edit %} {% endif %} {% if liaison.state.slug == 'posted' and user|has_role:"Secretariat" %} Resend statement {% endif %} {% if liaison.state.slug == 'dead' and can_edit %} {% endif %}
{% endblock %}