Skip to content
Snippets Groups Projects
Verified Commit 6ce4fbfc authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Show PDF files always in new tabs

parent c9361381
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,8 @@
<tr>
<td>{{ poster_group.name }}</td>
<td>
<a href="{% url "poster_show_current" poster_group.slug %}"><code>{{ poster_group.filename }}</code></a>
<a href="{% url "poster_show_current" poster_group.slug %}" target="_blank">
<code>{{ poster_group.filename }}</code></a>
</td>
<td>{{ poster_group.publishing_day_name }}</td>
<td>{{ poster_group.publishing_time }}</td>
......
......@@ -15,7 +15,7 @@
{% if current_poster %}
<p class="margin-bottom">
<i class="material-icons left">picture_as_pdf</i>
<a href="{{ current_poster.pdf.url }}">
<a href="{{ current_poster.pdf.url }}" target="_blank">
{% blocktrans with week=current_poster.week year=current_poster.year %}
Week {{ week }}/{{ year }}
{% endblocktrans %}
......@@ -34,7 +34,7 @@
{% endwith %}
</div>
<div class="card-action">
<a href="{% url "poster_show_current" group.slug %}">
<a href="{% url "poster_show_current" group.slug %}" target="_blank">
{% trans "Show current PDF" %}
</a>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment