forked from rDrama/rDrama
1
0
Fork 0

move "other" hole to the bottom

master
Aevann 2023-10-08 21:45:45 +03:00
parent 97ef3e0589
commit 6e533bc030
2 changed files with 4 additions and 1 deletions

View File

@ -89,6 +89,9 @@ def submit_get(v, hole=None):
HOLES = [x[0] for x in g.db.query(Hole.name).order_by(Hole.name)]
if SITE_NAME == "WPD":
HOLES = HOLES - ["other"] + ["other"]
return render_template("submit.html", HOLES=HOLES, v=v, hole=hole)
@app.get("/post/<int:pid>")

View File

@ -62,11 +62,11 @@
<a href="/h/industrial">Industrial</a>
<a href="/h/isis">ISIS</a>
<a href="/h/maiming">Maiming</a>
<a href="/h/other">Other</a>
<a href="/h/police">Police</a>
<a href="/h/shooting">Shooting</a>
<a href="/h/suicide">Suicide</a>
<a href="/h/vehicle">Vehicle</a>
<a href="/h/other">Other</a>
</div>
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3 mt-4">