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
This commit is contained in:
parent
8d8d58b437
commit
0948c4a0f3
|
@ -100,10 +100,10 @@ def ballot_icon(context, doc):
|
|||
my_blocking = True
|
||||
break
|
||||
|
||||
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', *(
|
||||
res = ['<a %s href="%s" data-toggle="modal" data-target="#modal-%d" title="IESG positions (click to show more)" class="ballot-icon"><table' % (
|
||||
right_click_string,
|
||||
urlreverse("ietf.doc.views_doc.ballot_popup", kwargs=dict(name=doc.name, ballot_id=ballot.pk)),
|
||||
ballot.pk,))]
|
||||
ballot.pk,)]
|
||||
if my_blocking:
|
||||
res.append(' class="is-blocking" ')
|
||||
res.append('>')
|
||||
|
|
Loading…
Reference in a new issue