Compare commits
2 Commits
d506788d94
...
3e80476b86
Author | SHA1 | Date |
---|---|---|
Aevann1 | 3e80476b86 | |
Aevann1 | 4656fa0b8d |
|
@ -451,7 +451,7 @@ def execute_lawlz_actions(v:User, p:Submission):
|
|||
if SITE_NAME != 'rDrama': return
|
||||
if not FEATURES['PINS']: return
|
||||
p.stickied_utc = int(time.time()) + 86400
|
||||
p.stickied = v.username
|
||||
p.stickied = AUTOJANNY_ID
|
||||
p.distinguish_level = 6
|
||||
p.flair = filter_emojis_only(":ben10: Required Reading")
|
||||
pin_time = 'for 1 day'
|
||||
|
|
|
@ -924,6 +924,10 @@ def submit_post(v:User, sub=None):
|
|||
|
||||
execute_lawlz_actions(v, post)
|
||||
|
||||
if SITE == 'rdrama.net' and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008):
|
||||
p.stickied_utc = int(time.time()) + 3600
|
||||
p.stickied = AUTOJANNY_ID
|
||||
|
||||
cache.delete_memoized(frontlist)
|
||||
cache.delete_memoized(userpagelisting)
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
<th onclick="sort_table(1)">Name</th>
|
||||
<th onclick="sort_table(2)">Wins</th>
|
||||
<th onclick="sort_table(3)">Bets</th>
|
||||
<th onclick="sort_table(4)">Winnings</th>
|
||||
<th onclick="sort_table(4)">Ratio</th>
|
||||
<th onclick="sort_table(5)">Winnings</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -21,6 +22,7 @@
|
|||
<td data-sort-key="{{user.username.lower() if user else ''}}">{%- include 'user_in_table.html' -%}</td>
|
||||
<td>{{r[1]}}</td>
|
||||
<td>{{r[2]}}</td>
|
||||
<td>{{r[1]/r[2]}}</td>
|
||||
<td>{{r[3]}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue