[gimp-web/testing] Add conditionals to Windows installer section and link tarballs in source section
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Add conditionals to Windows installer section and link tarballs in source section
- Date: Sat, 26 Aug 2017 22:32:51 +0000 (UTC)
commit a68f2971309af4bfd298b694a5ac779be1ca6730
Author: Michael Schumacher <schumaml gmx de>
Date: Sun Aug 27 00:14:44 2017 +0200
Add conditionals to Windows installer section and link tarballs in source section
.../newgimp/templates/downloads-development.html | 33 +++++++++++++++-----
1 files changed, 25 insertions(+), 8 deletions(-)
---
diff --git a/themes/newgimp/templates/downloads-development.html
b/themes/newgimp/templates/downloads-development.html
index 8ea7d61..ed240ef 100644
--- a/themes/newgimp/templates/downloads-development.html
+++ b/themes/newgimp/templates/downloads-development.html
@@ -27,16 +27,16 @@
<p>
We think your OS is
<span id="pOSTEST">
- Well, we don't actually know.
+ Well, we don't actually know.
Either JavaScript is disabled, or I am not working quite right...
- So I am showing you all the options.
- </span>
+ So I am showing you all the options.
+ </span>
</p>
<p id='others'>
Show downloads for
- <span class="show_links" id='os_linux'>GNU/Linux</span> |
- <span class="show_links" id='os_mac'>OS X</span> |
+ <span class="show_links" id='os_linux'>GNU/Linux</span> |
+ <span class="show_links" id='os_mac'>OS X</span> |
<span class="show_links" id='os_win'>Microsoft Windows</span> |
<span class="show_links" id='os_all'>All</span>
</p>
@@ -56,6 +56,9 @@
Please refer to the documentation for your Unix-like system on the installation of software.
</p>
+ <p>
+ Most Unix-like systems make it very easy to install a development environment for building software
from source. If you can't find a GIMP package in your distribution's package repository or want to build a
more recent GIMP version that what is available there, then see the <a href="#source">source code section</a>.
+ </p>
</div>
@@ -115,12 +118,20 @@
<div id='win' class="os win" markdown="1">
<h2>GIMP for Windows</h2>
+{% if WINDOWS_FILE_DEVELOPMENT is defined %}
+
+ {% if WINDOWS_VER_DEVELOPMENT != GIMP_VERSION_DEVELOPMENT %}
+ <p>
+ Note: the currently available package provides GIMP {{ WINDOWS_VER_DEVELOPMENT }} and has not yet
updated to the lastet version, GIMP {{ GIMP_VERSION_DEVELOPMENT }}. We're working on that, please check back
later.
+ </p>
+ {% endif %}
+
<p>
<span class='win-button' id='win-torrent'>
<a href="//download.gimp.org/pub/gimp/v2.9/windows/{{ WINDOWS_FILE_DEVELOPMENT }}.torrent"
title="Download GIMP via BitTorrent" id="win-torrent-link">
Download GIMP {{ WINDOWS_VER_DEVELOPMENT }}<br/>
via BitTorrent
- </a>
+ </a>
</span>
<span class='win-button'>
<a href="//download.gimp.org/mirror/pub/gimp/v2.9/windows/{{ WINDOWS_FILE_DEVELOPMENT }}"
title="Download GIMP via HTTP" id='win-download-link' >
@@ -143,7 +154,7 @@
</p>
<p>
- BitTorrent is a peer-to-peer file sharing system. It works by downloading GIMP from a distributed
network of BitTorrent users, and may improve download speed dramatically.
+ BitTorrent is a peer-to-peer file sharing system. It works by downloading GIMP from a distributed
network of BitTorrent users, and may improve download speed dramatically.
Choosing this option will download the torrent file for the GIMP installer.
You may need to install a torrent client to make use of this file. <a
href="//en.wikipedia.org/wiki/BitTorrent" title="BitTorrent on Wikipedia">Learn more...</a>
</p>
@@ -158,6 +169,12 @@
Previous installers for Windows can be found here: <a
href='//download.gimp.org/mirror/pub/gimp/v2.9/windows/'>download.gimp.org</a>.
</p>
+{% else %}
+
+ <p>There is no installer package for Microsoft Windows yet, sorry. Please check back later.</p>
+
+{% endif %}
+
</div>
<div id='source'>
@@ -175,7 +192,7 @@
{% for version, values in GIMP.DEVELOPMENT.iteritems() %}
{% if 'source' in values %}
<p>
- <strong>{{ values['source'].keys()[0] }}</strong><br>
+ <a href="//download.gimp.org/mirror/pub/gimp/v2.9/{{ values['source'].keys()[0]
}}"><strong>{{ values['source'].keys()[0] }}</strong></a><br>
<kbd>{{ values['source'].values()[0] }}</kbd>
</p>
{% endif %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]