Skip to content
Snippets Groups Projects
Commit 295de5e2 authored by Nils Beyer's avatar Nils Beyer
Browse files

Fix: Open OAUTH in new tab

parent 33ea022f
No related branches found
No related tags found
1 merge request!42Feature: Authorize helper
...@@ -192,7 +192,7 @@ $(function() { ...@@ -192,7 +192,7 @@ $(function() {
<div class="col-sm-4"> <div class="col-sm-4">
<h4 class="text-center"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> RWTH</h4> <h4 class="text-center"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> RWTH</h4>
<p>Für RWTH-Angehörige und aus dem RWTH-Netz verfügbar</p> <p>Für RWTH-Angehörige und aus dem RWTH-Netz verfügbar</p>
<a href="{{ url_for('start_rwthauth') }}" class="btn btn-default">Anmelden</a> <a target="_blank" href="{{ url_for('start_rwthauth') }}" class="btn btn-default">Anmelden</a>
</div> </div>
{% endif %} {% endif %}
{% if 'l2p' in permtypes or 'moodle' in permtypes %} {% if 'l2p' in permtypes or 'moodle' in permtypes %}
...@@ -200,13 +200,13 @@ $(function() { ...@@ -200,13 +200,13 @@ $(function() {
<h4 class="text-center"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> L2P/Moodle</h4> <h4 class="text-center"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> L2P/Moodle</h4>
<p>Für Teilnehmer der Veranstaltung verfügbar</p> <p>Für Teilnehmer der Veranstaltung verfügbar</p>
{% if 'l2p' in permtypes and not 'moodle' in permtypes %} {% if 'l2p' in permtypes and not 'moodle' in permtypes %}
<a href="{{ url_for('start_l2pauth') }}" class="btn btn-default">Anmelden</a> <a target="_blank" href="{{ url_for('start_l2pauth') }}" class="btn btn-default">Anmelden</a>
{% endif %} {% endif %}
{% if 'moodle' in permtypes and not 'l2p' in permtypes %} {% if 'moodle' in permtypes and not 'l2p' in permtypes %}
<a href="{{ url_for('start_moodleauth') }}" class="btn btn-default">Anmelden</a> <a target="_blank" href="{{ url_for('start_moodleauth') }}" class="btn btn-default">Anmelden</a>
{% endif %} {% endif %}
{% if 'moodle' in permtypes and 'l2p' in permtypes %} {% if 'moodle' in permtypes and 'l2p' in permtypes %}
<a href="{{ url_for('start_moodlel2pauth') }}" class="btn btn-default">Anmelden</a> <a target="_blank" href="{{ url_for('start_moodlel2pauth') }}" class="btn btn-default">Anmelden</a>
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment