Apply suggestion from @tgrelka

Co-authored-by: Tim Grelka <[email protected]>
This commit is contained in:
Dennis Eisold
2026-05-03 21:17:52 +02:00
committed by GitHub
co-authored by Tim Grelka
parent 37ad5fea2b
commit 7bec281cd4
+1 -1
View File
@@ -1,4 +1,4 @@
<div class="course-toolbar" style="float: right;" data-quiz-shown> <div style="float: right;" data-quiz-shown>
<div class="btn-group" role="group"> <div class="btn-group" role="group">
{% if chapter["video_url"] %} {% if chapter["video_url"] %}
<a class="btn btn-secondary" href="{{ chapter["video_url"] }}" title="Video öffnen" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2zm0 14H3V5h18v12zm-5-6l-7 4V7z"></path></svg></a> <a class="btn btn-secondary" href="{{ chapter["video_url"] }}" title="Video öffnen" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2zm0 14H3V5h18v12zm-5-6l-7 4V7z"></path></svg></a>