Add the liaison token holder to the title for secretariat-entered
liaisons. Also add the title to the HTML title in the detail page, partly addressing ticket #209. - Legacy-Id: 910
This commit is contained in:
parent
f8bedea9af
commit
a40661fe4f
ietf/templates
|
@ -1,6 +1,6 @@
|
|||
{# Copyright The IETF Trust 2007, All Rights Reserved #}
|
||||
{% if obj.by_secretariat %}
|
||||
Liaison statement submitted by email from {{ obj.from_body|escape }} on {{ obj.submitted_date }}
|
||||
Liaison statement submitted by email from {{ obj.from_body|escape }} to {{ obj.submitter_name|escape }} on {{ obj.submitted_date }}
|
||||
{% else %}
|
||||
{{ obj.title|escape }}
|
||||
{% endif %}
|
||||
|
|
5
ietf/templates/liaisons/liaison_title.html
Normal file
5
ietf/templates/liaisons/liaison_title.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% if object.by_secretariat %}
|
||||
Liaison statement submitted by email from {{ object.from_body|escape }} to {{ object.submitter_name|escape }} on {{ object.submitted_date }}
|
||||
{% else %}
|
||||
{{ object.title }}
|
||||
{% endif %}
|
|
@ -2,7 +2,8 @@
|
|||
{# no template, this page has its own look. #}
|
||||
{% load ietf_filters %}
|
||||
<html>
|
||||
<head><title>Liaison Statement Detail</title>
|
||||
<head><title>Liaison Statement Detail:
|
||||
{% include 'liaisons/liaison_title.html' %}</title>
|
||||
<style type="text/css">
|
||||
|
||||
a:link, a:visited {
|
||||
|
@ -28,11 +29,7 @@ a:hover {
|
|||
<tr valign="top"><td>
|
||||
|
||||
<center><h3>
|
||||
{% if object.by_secretariat %}
|
||||
Liaison statement submitted by email from {{ object.from_body|escape }} on {{ object.submitted_date }}
|
||||
{% else %}
|
||||
{{ object.title }}
|
||||
{% endif %}
|
||||
{% include 'liaisons/liaison_title.html' %}
|
||||
</h3></center>
|
||||
{% if not object.by_secretariat %}
|
||||
<blockquote>
|
||||
|
|
Loading…
Reference in a new issue