forked from rDrama/rDrama
move "other" hole to the bottom
parent
97ef3e0589
commit
6e533bc030
|
@ -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)]
|
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)
|
return render_template("submit.html", HOLES=HOLES, v=v, hole=hole)
|
||||||
|
|
||||||
@app.get("/post/<int:pid>")
|
@app.get("/post/<int:pid>")
|
||||||
|
|
|
@ -62,11 +62,11 @@
|
||||||
<a href="/h/industrial">Industrial</a>
|
<a href="/h/industrial">Industrial</a>
|
||||||
<a href="/h/isis">ISIS</a>
|
<a href="/h/isis">ISIS</a>
|
||||||
<a href="/h/maiming">Maiming</a>
|
<a href="/h/maiming">Maiming</a>
|
||||||
<a href="/h/other">Other</a>
|
|
||||||
<a href="/h/police">Police</a>
|
<a href="/h/police">Police</a>
|
||||||
<a href="/h/shooting">Shooting</a>
|
<a href="/h/shooting">Shooting</a>
|
||||||
<a href="/h/suicide">Suicide</a>
|
<a href="/h/suicide">Suicide</a>
|
||||||
<a href="/h/vehicle">Vehicle</a>
|
<a href="/h/vehicle">Vehicle</a>
|
||||||
|
<a href="/h/other">Other</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3 mt-4">
|
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3 mt-4">
|
||||||
|
|
Loading…
Reference in New Issue