xvc
This commit is contained in:
parent
4bfa2ff579
commit
3d4ee8058c
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
|
||||
{% if p.award_count("crab") %}
|
||||
<iframe width="0" height="0" src="https://youtube-nocookie.com/embed/LDU_Txk06tM?rel=0&controls=0&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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue