From 79de88a0743497def321715b6959ebe623530414 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?=
 <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de>
Date: Fri, 2 Dec 2022 23:11:32 +0100
Subject: [PATCH] Use target parent for virtual room buttons on room detail
 page, too

---
 AKPlan/templates/AKPlan/plan_room.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AKPlan/templates/AKPlan/plan_room.html b/AKPlan/templates/AKPlan/plan_room.html
index 8acd1fe7..638ad53c 100644
--- a/AKPlan/templates/AKPlan/plan_room.html
+++ b/AKPlan/templates/AKPlan/plan_room.html
@@ -59,7 +59,7 @@
     <h1>{% trans "Room" %}: {{ room.name }} {% if room.location != '' %}({{ room.location }}){% endif %}</h1>
 
     {% if "AKOnline"|check_app_installed and room.virtualroom and room.virtualroom.url != '' %}
-        <a class="btn btn-success" href="{{ room.virtualroom.url }}">
+        <a class="btn btn-success" target="_parent" href="{{ room.virtualroom.url }}">
             {% fa5_icon 'external-link-alt' 'fas' %} {% trans "Go to virtual room" %}
         </a>
     {% endif %}
-- 
GitLab