moved _scroll.html from templates/apps/drama/ to templates/core/_partials/; updated templates/apps/billboard/room_scroll.html include tag to point there
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Disco DeDisco
2026-03-21 23:39:47 -04:00
parent f1b5ba2a71
commit 3b905e0436
2 changed files with 1 additions and 1 deletions

View File

@@ -5,6 +5,6 @@
{% block content %}
<div class="content dashboard-page">
<h2>{{ room.name }}</h2>
{% include "apps/drama/_scroll.html" %}
{% include "core/_partials/_scroll.html" %}
</div>
{% endblock %}

View File

@@ -1,16 +0,0 @@
{% load lyric_extras %}
<section id="id_drama_scroll" class="drama-scroll">
{% for event in events %}
<div class="drama-event {% if event.actor == viewer %}mine{% else %}theirs{% endif %}">
<span class="event-body">
<strong>{{ event.actor|display_name }}</strong>
{{ event.to_prose }}<br>
<time class="event-time" datetime="{{ event.timestamp|date:'c' }}">
{{ event.timestamp|date:"N j, g:i a" }}
</time>
</span>
</div>
{% empty %}
<p class="event-empty"><small>No events yet.</small></p>
{% endfor %}
</section>