|
| 1 | +{% extends "idrfc/base.html" %} |
1 | 2 | {# Copyright The IETF Trust 2007, All Rights Reserved #} |
2 | | -{# no template, this page has its own look. #} |
3 | 3 | {% load ietf_filters %} |
4 | | -<html> |
5 | | -<head><title>Liaison Statement Detail: |
6 | | -{% include 'liaisons/liaison_title.html' %}</title> |
7 | | -<style type="text/css"> |
| 4 | +{% block title %}Liaison Statement: {% include 'liaisons/liaison_title.html' %}{% endblock %} |
8 | 5 |
|
9 | | -a:link, a:visited { |
10 | | - border-bottom:1px dotted #69f; |
11 | | - color:blue; |
12 | | - text-decoration:none; |
13 | | - } |
14 | | -a:visited { |
15 | | - border-bottom:1px dotted #969; |
16 | | - color:#939; |
17 | | - } |
18 | | -a:hover { |
19 | | - border-bottom:1px dotted #f00; |
20 | | - color:#f00; |
21 | | - } |
22 | | -</style> |
23 | | -</head> |
24 | | -<body topmargin='0' bottommargin='0' leftmargin='0' rightmargin='0' background='/images/back_dot.gif'> |
25 | | -<table bgcolor="#F4F2F2" border=2 cellpadding=0 cellspacing=0 width='671' height="300" align='center'> |
26 | | - <tr valign="top"><td> |
27 | | - <table width="100%" height='100%' border=0 cellpadding=0 cellspacing=0 bgcolor="#FFFFFF"> |
28 | | - <tr valign="top"><td><img src="/images/liaison_title.gif" height="96" border="0"></td></tr> |
29 | | - <tr valign="top"><td> |
| 6 | +{% block morecss %} |
| 7 | +.ietf-liaison-details tr { vertical-align:top; } |
| 8 | +{% endblock morecss %} |
30 | 9 |
|
31 | | -<center><h3> |
32 | | -{% include 'liaisons/liaison_title.html' %} |
33 | | -</h3></center> |
34 | | - {% if not object.by_secretariat %} |
35 | | - <blockquote> |
36 | | - <table cellspacing="3" bgcolor="cccc99" width="600"> |
37 | | - <tr> |
38 | | - <td bgcolor="#efefef" width="25%">Submission Date: </td><td width="75%"><pre>{{ object.submitted_date }}</pre></td></tr> |
39 | | - <tr> |
40 | | - <td bgcolor="#efefef" width="25%">From: </td><td width="75%"><pre>{{ object.from_body|escape }} (<a href="mailto:{{ object.from_email|fix_ampersands }}">{{ object.person|escape }}</a>)</pre></td></tr> |
41 | | - <tr> |
42 | | - <td bgcolor="#efefef">To: </td><td><pre>{{ object.to_body|escape }} ({{ object.to_poc|parse_email_list|safe }})</pre></td></tr> |
43 | | - <tr> |
44 | | - <td bgcolor="#efefef">Cc:</td><td><pre>{{ object.cc1|parse_email_list|make_one_per_line|safe }}</pre></td></tr> |
45 | | - <tr> |
46 | | - <td bgcolor="#efefef">Response Contact:</td> |
47 | | - <td> |
48 | | -<pre>{{ object.response_contact|parse_email_list|make_one_per_line|safe }}</pre> |
49 | | - </td></tr> |
50 | | - <tr> |
51 | | - <td bgcolor="#efefef">Technical Contact:</td> |
52 | | - <td> |
53 | | -<pre>{{ object.technical_contact|parse_email_list|make_one_per_line|safe }}</pre></td> |
54 | | - </tr> |
55 | | - <tr> |
56 | | - <td bgcolor="#efefef">Purpose:</td><td><pre>{% if object.purpose_text %}{{ object.purpose_text }}{% else %}{{ object.purpose }}{% endif %}</pre></td></tr> |
57 | | - <tr> |
58 | | - <td bgcolor="#efefef">Deadline:</td><td><pre>{{ object.deadline_date }}</pre></td></tr> |
59 | | - <tr> |
60 | | - <td bgcolor="#efefef">Body:</td><td><pre>{{ object.body|wordwrap:"71"|escape }}</pre></td></tr> |
61 | | - </table> |
62 | | - </blockquote> |
| 10 | +{% block content %} |
| 11 | +<h1>Liaison Statement: {% include 'liaisons/liaison_title.html' %}</h1> |
| 12 | + |
| 13 | +<table class="ietf-liaison-details"> |
| 14 | +<tr> |
| 15 | +<td style="width:18ex;">Submission Date:</td><td>{{ object.submitted_date }}</td></tr> |
| 16 | +<tr> |
| 17 | +<td>From:</td><td>{{ object.from_body }} (<a href="mailto:{{ object.from_email|fix_ampersands }}">{{ object.person }}</a>)</td></tr> |
| 18 | + |
| 19 | +<tr> |
| 20 | +<td>To:</td><td> |
| 21 | +{% if object.by_secretariat %} |
| 22 | + {% if object.submitter_email %} |
| 23 | + <a href="mailto:{{ object.submitter_email}}">{{ object.submitter_name }}</a> |
| 24 | + {% else %} |
| 25 | + {{ object.submitter_name }} |
63 | 26 | {% endif %} |
64 | | -<hr> |
65 | | -<blockquote> |
66 | | -<h3>Attached Document(s)</h3> |
67 | | -{% if object.uploads_set.count %} |
68 | | -<ul> |
| 27 | +{% else %} |
| 28 | +{{ object.to_body }} ({{ object.to_poc|parse_email_list|safe }})</td></tr> |
| 29 | +{% endif %} |
| 30 | + |
| 31 | +{% if not object.by_secretariat %} |
| 32 | + |
| 33 | +<tr> |
| 34 | +<td>Cc:</td><td>{{ object.cc1|parse_email_list|make_one_per_line|safe|linebreaksbr }}</td></tr> |
| 35 | +<tr> |
| 36 | +<td>Response Contact:</td> |
| 37 | +<td> |
| 38 | +{{ object.response_contact|parse_email_list|make_one_per_line|safe|linebreaksbr }} |
| 39 | +</td></tr> |
| 40 | +<tr> |
| 41 | +<td>Technical Contact:</td> |
| 42 | +<td>{{ object.technical_contact|parse_email_list|make_one_per_line|safe|linebreaksbr }}</td> |
| 43 | +</tr> |
| 44 | +<tr> |
| 45 | +<td>Purpose:</td><td>{% if object.purpose_text %}{{ object.purpose_text }}{% else %}{{ object.purpose }}{% endif %}</td></tr> |
| 46 | +<tr> |
| 47 | +<td>Deadline:</td><td>{{ object.deadline_date }}</td></tr> |
| 48 | +{% endif %} |
| 49 | + |
| 50 | +<tr> |
| 51 | +<td>Attachments:</td> |
| 52 | +<td> |
69 | 53 | {% for file in object.uploads_set.all %} |
70 | | -<li><a href="https://datatracker.ietf.org/documents/LIAISON/file{{ file.file_id }}{{ file.file_extension }}">{{ file.file_title }}</a><br> |
| 54 | +<a href="https://datatracker.ietf.org/documents/LIAISON/file{{ file.file_id }}{{ file.file_extension }}">{{ file.file_title }}</a>{% if not forloop.last %}<br/>{% endif %} |
| 55 | +{% empty %} |
| 56 | +(none) |
71 | 57 | {% endfor %} |
72 | | -</ul> |
73 | | -{% else %} |
74 | | -NONE |
| 58 | +</td></tr> |
| 59 | + |
| 60 | +{% if not object.by_secretariat and object.body %} |
| 61 | +<tr> |
| 62 | +<td>Body:</td><td><pre>{{ object.body|wordwrap:"71"|escape }}</pre></td></tr> |
75 | 63 | {% endif %} |
76 | | -</blockquote> |
| 64 | +</table> |
77 | 65 |
|
78 | | -</td></tr></table> |
79 | | -</body> |
80 | | -</html> |
| 66 | +{% endblock %} |
0 commit comments