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 .
 - Legacy-Id: 910
This commit is contained in:
Bill Fenner 2007-07-31 14:52:01 +00:00
parent f8bedea9af
commit a40661fe4f
3 changed files with 9 additions and 7 deletions

View file

@ -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 %}

View 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 %}

View file

@ -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>