Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
7ff82e70
Commit
7ff82e70
authored
Aug 26, 2016
by
Dawid Gaweł
Browse files
Options
Downloads
Patches
Plain Diff
prevent phishing attacks by setting noopener on external links
parent
777a4e89
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
helios/templates/election_view.html
+1
-1
1 addition, 1 deletion
helios/templates/election_view.html
heliosbooth/templates/question.html
+1
-1
1 addition, 1 deletion
heliosbooth/templates/question.html
with
2 additions
and
2 deletions
helios/templates/election_view.html
+
1
−
1
View file @
7ff82e70
...
@@ -46,7 +46,7 @@ this {{election.election_type}} is <u>not</u> featured on the front page.
...
@@ -46,7 +46,7 @@ this {{election.election_type}} is <u>not</u> featured on the front page.
</div>
</div>
{% if election.election_info_url %}
{% if election.election_info_url %}
<p
style=
"font-size:1.5em;"
>
[
<a
target=
"_blank"
href=
"{{election.election_info_url}}"
>
download candidate bios
&
statements
</a>
]
</p>
<p
style=
"font-size:1.5em;"
>
[
<a
target=
"_blank"
href=
"{{election.election_info_url}}"
rel=
"noopener noreferrer"
>
download candidate bios
&
statements
</a>
]
</p>
{% endif %}
{% endif %}
<p
align=
"center"
style=
"font-size: 1.5em;"
>
<p
align=
"center"
style=
"font-size: 1.5em;"
>
...
...
This diff is collapsed.
Click to expand it.
heliosbooth/templates/question.html
+
1
−
1
View file @
7ff82e70
...
@@ -30,7 +30,7 @@ as many as you approve of
...
@@ -30,7 +30,7 @@ as many as you approve of
{#if $T.question.answer_urls
&&
$T.question.answer_urls[$T.answer_ordering[$T.answer$index]]
&&
$T.question.answer_urls[$T.answer_ordering[$T.answer$index]] != ""}
{#if $T.question.answer_urls
&&
$T.question.answer_urls[$T.answer_ordering[$T.answer$index]]
&&
$T.question.answer_urls[$T.answer_ordering[$T.answer$index]] != ""}
<span
style=
"font-size: 12pt;"
>
<span
style=
"font-size: 12pt;"
>
[
<a
target=
"_blank"
href=
"{$T.question.answer_urls[$T.answer_ordering[$T.answer$index]]}"
>
more info
</a>
]
[
<a
target=
"_blank"
href=
"{$T.question.answer_urls[$T.answer_ordering[$T.answer$index]]}"
rel=
"noopener noreferrer"
>
more info
</a>
]
</span>
</span>
{#/if}
{#/if}
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment