From 1bc558fc97c8367b73b1212d229853ade901ad60 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Mon, 14 Jan 2019 20:22:49 +1100 Subject: [PATCH] Open voting booth description links in new tab --- .../core/static/nunjucks/question/approval/selections_make.html | 2 +- .../static/nunjucks/question/preferential/selections_make.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eosweb/core/static/nunjucks/question/approval/selections_make.html b/eosweb/core/static/nunjucks/question/approval/selections_make.html index e0a89e1..68ff8e2 100644 --- a/eosweb/core/static/nunjucks/question/approval/selections_make.html +++ b/eosweb/core/static/nunjucks/question/approval/selections_make.html @@ -19,7 +19,7 @@

{{ questionNum + 1 }}. {{ election.questions.__getitem__(questionNum).prompt }}

{% if election.questions.__getitem__(questionNum).description %} -

{{ election.questions.__getitem__(questionNum).description | urlize | safe }}

+

{{ election.questions.__getitem__(questionNum).description | urlize | replace(' {% endif %}

diff --git a/eosweb/core/static/nunjucks/question/preferential/selections_make.html b/eosweb/core/static/nunjucks/question/preferential/selections_make.html index 387904e..91e002f 100644 --- a/eosweb/core/static/nunjucks/question/preferential/selections_make.html +++ b/eosweb/core/static/nunjucks/question/preferential/selections_make.html @@ -19,7 +19,7 @@

{{ questionNum + 1 }}. {{ election.questions.__getitem__(questionNum).prompt }}

{% if election.questions.__getitem__(questionNum).description %} -

{{ election.questions.__getitem__(questionNum).description | urlize | safe }}

+

{{ election.questions.__getitem__(questionNum).description | urlize | replace(' {% endif %}