forked from rDrama/rDrama
1
0
Fork 0

add top poster of the day to WPD

master
Aevann 2024-02-13 22:57:17 +02:00
parent 22e4f5ee62
commit 15aef2167c
1 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,14 @@
<div class="col sidebar text-left {% if not request.path.startswith('/sidebar') %}d-none d-lg-block{% endif %} pt-2" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
<h5 class="text-center mt-0 mt-md-2 mb-4">
Top poster of the day:
<p>
{% with user=poster_of_the_day() %}
{% include "user_in_table.html" %}
{% endwith %}
</p>
</h5>
<a href="/users">
<h5 class="text-center mt-0 mt-md-2 mb-4">
Current registered users: {{current_registered_users()}}