Skip to content

Commit a40661f

Browse files
committed
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 adamlaska#209. - Legacy-Id: 910
1 parent f8bedea commit a40661f

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{# Copyright The IETF Trust 2007, All Rights Reserved #}
22
{% if obj.by_secretariat %}
3-
Liaison statement submitted by email from {{ obj.from_body|escape }} on {{ obj.submitted_date }}
3+
Liaison statement submitted by email from {{ obj.from_body|escape }} to {{ obj.submitter_name|escape }} on {{ obj.submitted_date }}
44
{% else %}
55
{{ obj.title|escape }}
66
{% endif %}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% if object.by_secretariat %}
2+
Liaison statement submitted by email from {{ object.from_body|escape }} to {{ object.submitter_name|escape }} on {{ object.submitted_date }}
3+
{% else %}
4+
{{ object.title }}
5+
{% endif %}

ietf/templates/liaisons/liaisondetail_detail.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
{# no template, this page has its own look. #}
33
{% load ietf_filters %}
44
<html>
5-
<head><title>Liaison Statement Detail</title>
5+
<head><title>Liaison Statement Detail:
6+
{% include 'liaisons/liaison_title.html' %}</title>
67
<style type="text/css">
78

89
a:link, a:visited {
@@ -28,11 +29,7 @@
2829
<tr valign="top"><td>
2930

3031
<center><h3>
31-
{% if object.by_secretariat %}
32-
Liaison statement submitted by email from {{ object.from_body|escape }} on {{ object.submitted_date }}
33-
{% else %}
34-
{{ object.title }}
35-
{% endif %}
32+
{% include 'liaisons/liaison_title.html' %}
3633
</h3></center>
3734
{% if not object.by_secretariat %}
3835
<blockquote>

0 commit comments

Comments
 (0)