Verified Commit 0983d103 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Add rel=noopener where target=_blank

parent 641dccde
......@@ -10,7 +10,7 @@
{% if slide.url %}
<a href="{{ slide.url }}"
class="w-100 h-100"
{% if slide.url_blank %}target="_blank"{% endif %}
{% if slide.url_blank %}target="_blank" rel="noopener"{% endif %}
>
{% endif %}
<img class="image"
......
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-13 16:20+0200\n"
"PO-Revision-Date: 2018-10-13 16:22+0200\n"
"POT-Creation-Date: 2018-12-12 22:21+0100\n"
"PO-Revision-Date: 2018-12-12 22:24+0100\n"
"Last-Translator: Sébastiaan Versteeg <se_bastiaan@outlook.com>\n"
"Language-Team: \n"
"Language: nl\n"
......@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.1.1\n"
"X-Generator: Poedit 2.2\n"
#: admin.py
msgid "Mark exams as accepted"
......@@ -197,23 +197,24 @@ msgstr "Boekverkoop"
#, python-format
msgid ""
"Thalia's book sale goes through Studystore. You can find the personalized "
"webshop <a href=\"https://betabooks.itdepartment.nl/en\" target=\"_blank"
"\">here</a>. As a member of Thalia you receive a 15%% discount on study "
"books ordered at this webshop."
"webshop <a href=\"https://betabooks.itdepartment.nl/en\" target=\"_blank\" "
"rel=\"noopener\">here</a>. As a member of Thalia you receive a 15%% discount "
"on study books ordered at this webshop."
msgstr ""
"Thalia's boekverkoop wordt geregeld door Studystore. Je kunt de "
"gepersonaliseerde webshop <a href=\"https://betabooks.itdepartment.nl/\" "
"target=\"_blank\">hier</a> vinden. Als lid van Thalia krijg je 15%% korting "
"op de studieboeken die je via deze webshop bestelt."
"target=\"_blank\" rel=\"noopener\">hier</a> vinden. Als lid van Thalia krijg "
"je 15%% korting op de studieboeken die je via deze webshop bestelt."
#: templates/education/books.html
msgid ""
"If you cannot find a certain book or you find another error, please contact "
"the board at <a href=\"mailto:books@thalia.nu\">books@thalia.nu</a>."
"the board at <a href=\"mailto:books@thalia.nu\" rel=\"noopener\" target="
"\"_blank\">books@thalia.nu</a>."
msgstr ""
"Als je een bepaald boek niet kunt vinden of een andere fout tegenkomt, neem "
"contact op met het bestuur via <a href=\"mailto:boekverkoop@thalia.nu"
"\">boekverkoop@thalia.nu</a>."
"contact op met het bestuur via <a href=\"mailto:boekverkoop@thalia.nu\" rel="
"\"noopener\" target=\"_blank\">boekverkoop@thalia.nu</a>."
#: templates/education/course.html
msgid "Course"
......@@ -293,6 +294,10 @@ msgstr "alle vakken"
msgid "Name"
msgstr "Naam"
#: templates/education/courses.html
msgid "Categories"
msgstr "Categorieën"
#: templates/education/courses.html
msgid "Available documents"
msgstr "Beschikbare documenten"
......@@ -386,7 +391,3 @@ msgstr ""
"veertien leden. Acht daarvan worden gekozen door de studenten en de andere "
"zes representeren verschillende studentenorganisaties. Je kan <a href="
"\"http://www.ru.nl/usr/\">hier</a> meer lezen over de USR."
#: views.py
msgid "Summary"
msgstr "Samenvatting"
......@@ -15,7 +15,7 @@
Thalia's book sale goes through Studystore. You can find
the personalized webshop
<a href="https://betabooks.itdepartment.nl/en"
target="_blank">here</a>.
target="_blank" rel="noopener">here</a>.
As a member of Thalia you receive a 15% discount on study
books ordered at this webshop.
{% endblocktrans %}
......@@ -24,7 +24,7 @@
{% blocktrans trimmed %}
If you cannot find a certain book or you find another
error, please contact the board at
<a href="mailto:books@thalia.nu">books@thalia.nu</a>.
<a href="mailto:books@thalia.nu" rel="noopener" target="_blank">books@thalia.nu</a>.
{% endblocktrans %}
</p>
</div>
......
......@@ -16,7 +16,7 @@
lectures, workshops, get togethers and programming competitions. We also produce a magazine called
the Thabloid. We are always looking to create new partnerships. If your company is interessed in
creating such a partnership or are you interested in what such a partnership can do for you, please
contact us at <a href="mailto:samenwerking@thalia.nu" target="_blank">samenwerking@thalia.nu</a>.
contact us at <a href="mailto:samenwerking@thalia.nu" rel="noopener" target="_blank">samenwerking@thalia.nu</a>.
{% endblocktrans %}
</p>
......
......@@ -32,7 +32,7 @@
{% if partner.link %}
<h4 class="text-center text-md-left">{% trans "Website" %}</h4>
<p class="text-center text-md-left">
<a href="{{ partner.link }}" target="_blank">{{ partner.link }}</a>
<a href="{{ partner.link }}" rel="noopener" target="_blank">{{ partner.link }}</a>
</p>
{% endif %}
......@@ -72,7 +72,7 @@
<div class="card-body">
<p>{{ vacancy.description|bleach }}</p>
{% if vacancy.link %}
<a class="btn btn-primary" href="{{ vacancy.link }}" target="_blank">
<a class="btn btn-primary" href="{{ vacancy.link }}" rel="noopener" target="_blank">
{% trans "Learn more" %}
</a>
{% endif %}
......
......@@ -13,7 +13,7 @@
{% blocktrans trimmed %}
If you want to work besides studying or when you are (almost) graduated you can look here for
interesting vacancies. When you want to post a vacancy on this page as a company you can contact us
at <a href="mailto:samenwerking@thalia.nu" target="_blank">samenwerking@thalia.nu</a>.
at <a href="mailto:samenwerking@thalia.nu" rel="noopener" target="_blank">samenwerking@thalia.nu</a>.
{% endblocktrans %}
</p>
......@@ -57,7 +57,7 @@
<div class="card-body">
<p>{{ vacancy.description|bleach }}</p>
{% if vacancy.link %}
<a class="btn btn-primary" href="{{ vacancy.link }}" target="_blank">
<a class="btn btn-primary" href="{{ vacancy.link }}" rel="noopener" target="_blank">
{% trans "Learn more" %}
</a>
{% endif %}
......
......@@ -45,7 +45,7 @@
{% blocktrans trimmed %}
Payment can be made both in cash or by card. If you have any other questions about Thalia
and/or your membership, feel free to email
<a href="mailto:info@thalia.nu" target="_blank">info@thalia.nu</a>!
<a href="mailto:info@thalia.nu" rel="noopener" target="_blank">info@thalia.nu</a>!
{% endblocktrans %}
</p>
</div>
......
......@@ -151,14 +151,18 @@
<a href="{% url 'privacy-policy' %}">{% trans "privacy policy"|capfirst %}</a>
</div>
<div class="social float-right">
<a target="_blank" href="https://www.facebook.com/svThalia"><i
class="fab fa-facebook"></i></a>
<a target="_blank" href="https://twitter.com/svThalia"><i
class="fab fa-twitter"></i></a>
<a target="_blank" href="http://www.linkedin.com/groups?gid=54887"><i
class="fab fa-linkedin"></i></a>
<a target="_blank" href="https://gitlab.science.ru.nl/thalia/"><i
class="fab fa-gitlab"></i></a>
<a target="_blank" rel="noopener" href="https://www.facebook.com/svThalia">
<i class="fab fa-facebook"></i>
</a>
<a target="_blank" rel="noopener" href="https://twitter.com/svThalia">
<i class="fab fa-twitter"></i>
</a>
<a target="_blank" rel="noopener" href="http://www.linkedin.com/groups?gid=54887">
<i class="fab fa-linkedin"></i>
</a>
<a target="_blank" rel="noopener" href="https://gitlab.science.ru.nl/thalia/">
<i class="fab fa-gitlab"></i>
</a>
</div>
</div>
</footer>
......
......@@ -114,7 +114,7 @@
<p>
{% blocktrans trimmed %}
Thalia's logo consists of a 'T' formed by the pieces of a
<a href="https://en.wikipedia.org/wiki/Tangram" target="_blank">tangram</a> and the text 'Study
<a href="https://en.wikipedia.org/wiki/Tangram" rel="noopener" target="_blank">tangram</a> and the text 'Study
Association Thalia'. The font that was used for this text is '<a href="https://drive.google.com/drive/folders/1ngaQc481MbZAXwbvs85NW07exwM7_Bfo">Gill Sans MT Condensed</a>'.
{% endblocktrans %}
</p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment