forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-02-17 05:18:54 +02:00
parent 193fa17cbf
commit 45f30dc403
2 changed files with 2 additions and 2 deletions

View File

@ -671,7 +671,7 @@ def following(username, v):
@app.get("/views")
@auth_required
def visitors(v):
if SITE_NAME == 'Drama' and v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v)
if v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v)
viewers=sorted(v.viewers, key = lambda x: x.last_view_utc, reverse=True)
return render_template("viewers.html", v=v, viewers=viewers)

View File

@ -23,7 +23,7 @@
{% if p.award_count("crab") %}
<iframe width="0" height="0" src="https://youtube-nocookie.com/embed/LDU_Txk06tM?rel=0&amp;controls=0&amp;showinfo=0&autoplay=1&start=44" frameborder="0" allow="autoplay"></iframe>
<iframe width="0" height="0" src="https://www.youtube-nocookie.com/embed/LDU_Txk06tM?rel=0&controls=0&showinfo=0&autoplay=1&start=44" frameborder="0" allow="autoplay"></iframe>
{% endif %}
{% if g.inferior_browser %}