mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 11:47:28 +01:00
Add link to Installing X on the package page
This commit is contained in:
parent
88a8e85b12
commit
7461acdd1f
@ -120,12 +120,26 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="btn-group-horizontal col-md-auto">
|
<div class="btn-group btn-group-horizontal col-md-auto">
|
||||||
{% if release %}
|
{% if release %}
|
||||||
<a class="btn btn-download btn_green" rel="nofollow"
|
<a class="btn btn-download" rel="nofollow"
|
||||||
href="{{ package.getDownloadURL() }}">
|
href="{{ package.getDownloadURL() }}">
|
||||||
{{ _("Download") }}
|
{{ _("Download") }}
|
||||||
</a>
|
</a>
|
||||||
|
{% 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 %}
|
||||||
|
|
||||||
|
|
||||||
|
<a href="{{ installing_url }}" class="btn btn-download">
|
||||||
|
<i class="fas fa-question-circle"></i>
|
||||||
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<i>
|
<i>
|
||||||
{{ _("No downloads available") }}
|
{{ _("No downloads available") }}
|
||||||
|
Loading…
Reference in New Issue
Block a user