diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index 4d8397c..be3cf59 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -120,12 +120,26 @@ {% endif %} -
+
{% if release %} - {{ _("Download") }} + {% if package.type == package.type.MOD %} + {% set installing_url = "https://wiki.minetest.net/Installing_Mods" %} + {% elif package.type == package.type.GAME %} + {% set installing_url = "https://wiki.minetest.net/Games#Installing_games" %} + {% elif package.type == package.type.TXP %} + {% set installing_url = "https://wiki.minetest.net/Installing_Texture_Packs" %} + {% else %} + {{ 0 / 0 }} + {% endif %} + + + + + {% else %} {{ _("No downloads available") }}