diff --git a/suchwow/app.py b/suchwow/app.py index 9e9eb1f..b9bae69 100644 --- a/suchwow/app.py +++ b/suchwow/app.py @@ -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(): diff --git a/suchwow/templates/about.html b/suchwow/templates/about.html index 2c3ada6..3ca55af 100644 --- a/suchwow/templates/about.html +++ b/suchwow/templates/about.html @@ -12,8 +12,9 @@

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:

-

qvqc (top mod): WW3rVRuwdB5Bb95mZuGpunguz7Ers3Gao6EGLYZ6z2uEA9RsYzbZN1rfT74gzEDxyfNSVcpnMvnUhZTLfjiE73eu29ErXTDi4

-

lza_menace (dev): WW3CRUnpWnAQmXyr8rgd5qVneg3tTKbRrZu2qbTzjwMNEtvddodV2inPbRSGjcdRyHKVNsNkwWccjN6iKu1FAGr32hqKzikQP

+ {% for mod in mods %} +

{{ mod.username }} - {{ mod.address or '? (update your profile, bub!)' }}

+ {% endfor %}