Skip to content

Commit 0948c4a

Browse files
committed
Applying format_html() in simple_tag-registered tags as per the suggestions for Django-1.9 upgrade wasn't straightforward. Reverting to earlier code for ballot-icond link.
- Legacy-Id: 12782
1 parent 8d8d58b commit 0948c4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/doc/templatetags/ballot_icon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ def sort_key(t):
100100
my_blocking = True
101101
break
102102

103-
res = [ format_html('<a %s href="%s" data-toggle="modal" data-target="#modal-%d" title="IESG positions (click to show more)" class="ballot-icon"><table', *(
103+
res = ['<a %s href="%s" data-toggle="modal" data-target="#modal-%d" title="IESG positions (click to show more)" class="ballot-icon"><table' % (
104104
right_click_string,
105105
urlreverse("ietf.doc.views_doc.ballot_popup", kwargs=dict(name=doc.name, ballot_id=ballot.pk)),
106-
ballot.pk,))]
106+
ballot.pk,)]
107107
if my_blocking:
108108
res.append(' class="is-blocking" ')
109109
res.append('>')

0 commit comments

Comments
 (0)