[gimp-web/testing] Add conditional text for binary downloads (not matching release)
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Add conditional text for binary downloads (not matching release)
- Date: Thu, 8 Nov 2018 20:05:33 +0000 (UTC)
commit 09fab7208bf18499a62f160d3b8a3334e458f4cd
Author: Pat David <patdavid gmail com>
Date: Thu Nov 8 14:03:45 2018 -0600
Add conditional text for binary downloads (not matching release)
If the release version is ahead of current binaries, set a text
over the binary download buttons to let folks know that the latest
release isn't available yet as a binary and to check back.
We had this on the development downloads page for a while and it
makes sense to include here I think.
themes/newgimp/templates/downloads.html | 14 ++++++++++++++
1 file changed, 14 insertions(+)
---
diff --git a/themes/newgimp/templates/downloads.html b/themes/newgimp/templates/downloads.html
index 5c537943..7918c65c 100644
--- a/themes/newgimp/templates/downloads.html
+++ b/themes/newgimp/templates/downloads.html
@@ -110,6 +110,11 @@
<h2>GIMP for macOS</h2>
{% if MACOS_FILE is defined %}
+
+ {% if MACOS_VER != GIMP_VERSION %}
+ <p>Note: the currently available package provides GIMP {{ MACOS_VER }} and has not yet updated to
the latest version, GIMP {{ GIMP_VERSION }}. We're working on that, please check back later.</p>
+ {% endif %}
+
<p>
<span class='win-button' id='osx-torrent'>
<a href="//download.gimp.org/pub/gimp/v{{ MACOS_MAJOR_MINOR_VER }}/osx/{{ MACOS_FILE
}}.torrent">
@@ -220,6 +225,13 @@
<h2>GIMP for Windows</h2>
{% if WINDOWS_FILE is defined %}
+
+ {% if WINDOWS_VER != GIMP_VERSION %}
+ <p>
+ Note: the currently available package provides GIMP {{ WINDOWS_VER }} and has <em>not yet been
updated to the latest version</em>, GIMP {{ GIMP_VERSION}}. We're working on it, please check back later.
+ </p>
+ {% endif %}
+
<p>
<span class='win-button' id='win-torrent'>
<a
@@ -239,6 +251,8 @@
</span>
</p>
+
+
<small>
<p>
The download links above will attempt to download GIMP from one of our trusted mirror servers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]