forked from rDrama/rDrama
add top poster of the day to WPD
parent
22e4f5ee62
commit
15aef2167c
|
@ -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()}}
|
||||
|
|
Loading…
Reference in New Issue