show list of active mods and their addresses
This commit is contained in:
parent
8c546a07eb
commit
0cab370e12
|
@ -76,7 +76,8 @@ def mod_queue():
|
|||
|
||||
@app.route("/about")
|
||||
def about():
|
||||
return render_template("about.html")
|
||||
mods = Profile.select().join(Moderator, on=(Profile.username == Moderator.username))
|
||||
return render_template("about.html", mods=mods)
|
||||
|
||||
@app.cli.command("init")
|
||||
def init():
|
||||
|
|
|
@ -12,8 +12,9 @@
|
|||
<br />
|
||||
<br />
|
||||
<p>If you've made WOW from memes, please consider donating to our mod team - we work hard to ensure only the finest quality memes are shown for your viewing pleasure:</p>
|
||||
<p><strong>qvqc (top mod)</strong>: WW3rVRuwdB5Bb95mZuGpunguz7Ers3Gao6EGLYZ6z2uEA9RsYzbZN1rfT74gzEDxyfNSVcpnMvnUhZTLfjiE73eu29ErXTDi4</p>
|
||||
<p><strong>lza_menace (dev)</strong>: WW3CRUnpWnAQmXyr8rgd5qVneg3tTKbRrZu2qbTzjwMNEtvddodV2inPbRSGjcdRyHKVNsNkwWccjN6iKu1FAGr32hqKzikQP</p>
|
||||
{% for mod in mods %}
|
||||
<p><strong>{{ mod.username }}</strong> - {{ mod.address or '? (update your profile, bub!)' }}</p>
|
||||
{% endfor %}
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
|
Loading…
Reference in New Issue