mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-04-29 08:20:58 +00:00
lower_thirds: always use event locale when localizing text
This commit is contained in:
parent
f618654ee0
commit
d42a2744d0
2 changed files with 13 additions and 5 deletions
|
@ -18,11 +18,11 @@
|
|||
hide itself.
|
||||
</p>
|
||||
|
||||
{% if request.event.rooms %}
|
||||
{% if localized_rooms %}
|
||||
<h3>{% trans "room list" %}</h3>
|
||||
<ul>
|
||||
{% for room in request.event.rooms.all %}
|
||||
<li><a href="{% url 'plugins:pretalx_broadcast_tools:lowerthirds' request.event.slug %}#{{ room.name }}">{{ room.name }}</a></li>
|
||||
{% for room in localized_rooms %}
|
||||
<li><a href="{% url 'plugins:pretalx_broadcast_tools:lowerthirds' request.event.slug %}#{{ room }}">{{ room }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue