1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2025-04-29 13:50:58 +00:00

add some settings for 'currently no talk running', add configurable info line

This commit is contained in:
Franzi 2021-11-20 17:46:05 +01:00
parent a4ad26ac0b
commit 18f82d1df3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
8 changed files with 117 additions and 3 deletions

View file

@ -20,6 +20,7 @@
<div id="box">
<p id="title">Loading ...</p>
<p id="speaker">Content should appear soon. If not, please verify you have Javascript enabled.</p>
<p id="info_line"></p>
</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
{% extends "orga/base.html" %}
{% load bootstrap4 %}
{% load i18n %}
{% block content %}
<h2>{% trans "Set up lower thirds" %}</h2>
<form method="post">
{% csrf_token %}
{% bootstrap_form form layout='event' %}
<p>
The info line will be shown on the bottom right side of your
lower third. If you set it to an empty string, it will automatically
hide itself.
</p>
<p>
pretalx will automatically replace some placeholders in your info
string.
Use <code>{CODE}</code> to embed the talk code (<code>MUX9U3</code>
for example). You could use this to directly link to the talk
feedback page.
Use <code>{EVENT_SLUG}</code> to get the event slug.
Use <code>{TALK_SLUG}</code> to get the talk slug.
</p>
<div class="submit-group panel">
<span></span>
<span class="d-flex flex-row-reverse">
<button
type="submit" class="btn btn-success btn-lg"
name="action" value="save"
>
<i class="fa fa-check"></i>
{% trans "Save" %}
</button>
</span>
</div>
</form>
{% endblock %}