Make "Windows, 64-bit Installer" appear before "Windows, 64-bit" (zip file)

Closes #933

See merge request monero-project/monero-site!1046
This commit is contained in:
luigi1111 2019-05-13 20:12:14 +02:00
commit c71ee0cf0d

View file

@ -106,7 +106,16 @@ permalink: /downloads/index.html
<p class="hash"> {{ data_downloads.gui_hash }}</p>
</div>
{% elsif data_downloads.gui_hash != nil and data_downloads.cli_hash != nil %}
{% if data_downloads.gui_installer_hash != nil %}
<div class="row start-md">
<div class="col-md-6 col-sm-12" >
<h3 id="{{ data_downloads.platform | slugify }}">
<a href="//downloads.getmonero.org/gui/{{ data_downloads.gui_installer_url }}">{{ data_downloads.platform }} {% t downloads.installer %}</a>
</h3>
<p>{% t downloads.currentversion %}: {{ data_downloads.gui_installer_version }} {{ data_downloads.tag }}</p>
<p class="prehash">SHA256 Hash (GUI Installer):</p>
<p class="hash"> {{ data_downloads.gui_installer_hash }}</p>
</div>
<div class="col-md-6 col-sm-12" >
<h3 id="{{ data_downloads.platform | slugify }}">
<a href="//downloads.getmonero.org/gui/{{ data_downloads.gui_url }}">{{ data_downloads.platform }}</a>
@ -115,6 +124,9 @@ permalink: /downloads/index.html
<p class="prehash">SHA256 Hash (GUI):</p>
<p class="hash"> {{ data_downloads.gui_hash }}</p>
</div>
</div>
{% endif %}
<div class="row">
<div class="col-md-6 col-sm-12">
<h3>
<a href="//downloads.getmonero.org/cli/{{ data_downloads.cli_url }}">{{ data_downloads.platform }} {% t downloads.clionly %}</a>
@ -125,18 +137,6 @@ permalink: /downloads/index.html
</div>
</div>
<br/>
{% if data_downloads.gui_installer_hash != nil %}
<div class="row">
<div class="col-md-6 col-sm-12" >
<h3 id="{{ data_downloads.platform | slugify }}">
<a href="//downloads.getmonero.org/gui/{{ data_downloads.gui_installer_url }}">{{ data_downloads.platform }} {% t downloads.installer %}</a>
</h3>
<p>{% t downloads.currentversion %}: {{ data_downloads.gui_installer_version }} {{ data_downloads.tag }}</p>
<p class="prehash">SHA256 Hash (GUI Installer):</p>
<p class="hash"> {{ data_downloads.gui_installer_hash }}</p>
</div>
</div>
{% endif %}
{% endif %}
</div>
</section>