From f649fa57e6787456608846b446b511b470dafc7c Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 1 Sep 2022 22:30:35 +0100 Subject: [PATCH] Move mods above games in metapackage page --- app/templates/metapackages/view.html | 6 +++--- .../packages/user_screenshot_new.html | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 app/templates/packages/user_screenshot_new.html diff --git a/app/templates/metapackages/view.html b/app/templates/metapackages/view.html index 4fec38a5..a2eaada2 100644 --- a/app/templates/metapackages/view.html +++ b/app/templates/metapackages/view.html @@ -11,12 +11,12 @@

{{ _("Provided By") }}

-

{{ _("Games") }}

- {{ render_pkggrid(mpackage.packages.filter_by(type="GAME", state="APPROVED").all()) }} -

{{ _("Mods") }}

{{ render_pkggrid(mpackage.packages.filter_by(type="MOD", state="APPROVED").all()) }} +

{{ _("Games") }}

+ {{ render_pkggrid(mpackage.packages.filter_by(type="GAME", state="APPROVED").all()) }} + {% if similar_topics %}

{{ _("Forum Topics") }}