remotes/1693045480750635534/spooky-22
Aevann1 2021-07-29 08:40:08 +02:00
parent 0eeea346c9
commit 981ae97562
2 changed files with 24 additions and 0 deletions

View File

@ -289,6 +289,9 @@ def u_username(username, v=None):
v.dramacoins -= 500
v.rent_utc = int(time.time())
g.db.add(v)
u.dramacoins += 500
g.db.add(u)
send_notification(1046, u, f"@{v.username} has paid rent!")
paidrent = True
if not paidrent:

View File

@ -0,0 +1,21 @@
{% extends "default.html" %}
{% block content %}
<pre class="d-none d-md-inline-block"></pre>
<h5>@{{u.username}}'s followers</h5>
<pre></pre>
<table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th style="font-weight: bold">#</th>
<th style="font-weight: bold">Name</th>
</tr>
</thead>
{% for user in users %}
<tr>
<td style="font-weight: bold">{{users.index(user)+1}}</td>
<td><a {% if user.animatedname %}class="{% if user.patron %}patron{% else %}leaderboard{% endif %}"{% endif %} style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img src="/@{{user.username}}/pic/profile" class="profile-pic-20 mr-1">{{user.username}}</a></td>
</tr>
{% endfor %}
</table>
{% endblock %}