Skip to content

Commit 2671982

Browse files
committed
Remove Q debugging code.
Add author to each item. Don't HTML-escape the title; atom titles are plain text. - Legacy-Id: 916
1 parent 16e1fa7 commit 2671982

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

ietf/liaisons/feeds.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ def items(self, obj):
7777
qs = LiaisonDetail.objects.all().order_by("-submitted_date")
7878
if obj.has_key('q'):
7979
qs = qs.filter(*obj['q'])
80-
select, sql, params = qs._get_sql_clause()
81-
print "applied Q: %s" % sql
8280
if obj.has_key('filter'):
8381
qs = qs.filter(**obj['filter'])
8482
if obj.has_key('limit'):
@@ -87,3 +85,6 @@ def items(self, obj):
8785

8886
def item_pubdate(self, item):
8987
return item.submitted_date
88+
89+
def item_author_name(self, item):
90+
return item.from_body()
Lines changed: 2 additions & 2 deletions
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 }} to {{ obj.submitter_name|escape }} on {{ obj.submitted_date }}
3+
Liaison statement submitted by email from {{ obj.from_body }} to {{ obj.submitter_name }} on {{ obj.submitted_date }}
44
{% else %}
5-
{{ obj.title|escape }}
5+
{{ obj.title }}
66
{% endif %}

0 commit comments

Comments
 (0)