| |
@@ -135,7 +135,7 @@
|
| |
for candidate in candidates:
|
| |
title = candidate.fas_name or candidate.name
|
| |
if candidate.url:
|
| |
- title = '%s <a href="%s">[Info]</a>' % (title, candidate.url)
|
| |
+ title = '%s <a href="%s" target="_blank" rel="noopener noreferrer">[Info]</a>' % (title, candidate.url)
|
| |
field = wtforms.SelectField(
|
| |
title,
|
| |
choices=[(str(item), item) for item in range(max_range + 1)]
|
| |
@@ -160,7 +160,7 @@
|
| |
except (KeyError, AuthError) as err:
|
| |
APP.logger.debug(err)
|
| |
if candidate.url:
|
| |
- title = '%s <a href="%s">[Info]</a>' % (title, candidate.url)
|
| |
+ title = '%s <a href="%s" target="_blank" rel="noopener noreferrer">[Info]</a>' % (title, candidate.url)
|
| |
titles.append((str(candidate.id), title))
|
| |
field = wtforms.RadioField(
|
| |
'Candidates',
|
| |
@@ -192,7 +192,7 @@
|
| |
for candidate in candidates:
|
| |
title = candidate.fas_name or candidate.name
|
| |
if candidate.url:
|
| |
- title = '%s <a href="%s">[Info]</a>' % (title, candidate.url)
|
| |
+ title = '%s <a href="%s" target="_blank" rel="noopener noreferrer">[Info]</a>' % (title, candidate.url)
|
| |
field = wtforms.BooleanField(
|
| |
title,
|
| |
)
|
| |
Incorporate a few bugfixes before the election. I didn't get a chance to do the over-aggressive-group check, so I'll defer that until after the F31 elections.
@pingou can you please look this over and double-check me? If it looks good, you can merge and deploy to prod before by EOB on Wednesday.