forked from rDrama/rDrama
1
0
Fork 0

capitalization consistency

master
Aevann 2024-02-16 16:31:21 +02:00
parent f6e0f81f2c
commit c4351d97c0
3 changed files with 5 additions and 5 deletions

View File

@ -143,7 +143,7 @@ def poster_of_the_day_id():
).group_by(User.id).order_by(func.sum(Post.upvotes).desc()).first()[0] ).group_by(User.id).order_by(func.sum(Post.upvotes).desc()).first()[0]
t = datetime.datetime.now() t = datetime.datetime.now()
send_notification(user.id, f":marseyjam: You're the top poster of the day for the day of {t.year}-{t.month}-{t.day} :marseyjam:") send_notification(user.id, f":marseyjam: You're the Top Poster of the Day for the day of {t.year}-{t.month}-{t.day} :marseyjam:")
badge_grant(badge_id=327, user=user) badge_grant(badge_id=327, user=user)
uid = user.id uid = user.id

View File

@ -1,7 +1,7 @@
<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 %}> <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"> <h5 class="text-center mt-0 mt-md-2 mb-4">
Top poster of the day: Top Poster of the Day:
<p> <p>
{% with user=poster_of_the_day() %} {% with user=poster_of_the_day() %}
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
@ -11,7 +11,7 @@
<a href="/users"> <a href="/users">
<h5 class="text-center mt-0 mt-md-2 mb-4"> <h5 class="text-center mt-0 mt-md-2 mb-4">
Current registered users: {{current_registered_users()}} Current Registered Users: {{current_registered_users()}}
</h5> </h5>
</a> </a>

View File

@ -1,7 +1,7 @@
<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 %}> <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"> <h5 class="text-center mt-0 mt-md-2 mb-4">
Top poster of the day: Top Poster of the Day:
<p> <p>
{% with user=poster_of_the_day() %} {% with user=poster_of_the_day() %}
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
@ -11,7 +11,7 @@
<a href="/users"> <a href="/users">
<h5 class="text-center mt-0 mt-md-2 mb-4"> <h5 class="text-center mt-0 mt-md-2 mb-4">
Current registered users: {{current_registered_users()}} Current Registered Users: {{current_registered_users()}}
</h5> </h5>
</a> </a>