[gimp-web/testing] Conditional message depeding on whether a macOS package file exists
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Conditional message depeding on whether a macOS package file exists
- Date: Fri, 25 Aug 2017 20:24:39 +0000 (UTC)
commit 953cd46573eaa0c5fed209778bbc179d36559e54
Author: Michael Schumacher <schumaml gmx de>
Date: Fri Aug 25 22:23:59 2017 +0200
Conditional message depeding on whether a macOS package file exists
.../newgimp/templates/downloads-development.html | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/themes/newgimp/templates/downloads-development.html
b/themes/newgimp/templates/downloads-development.html
index c150a22..88c23b9 100644
--- a/themes/newgimp/templates/downloads-development.html
+++ b/themes/newgimp/templates/downloads-development.html
@@ -59,7 +59,7 @@
<div id='mac' class="os mac" markdown="1">
<h2>GIMP for Mac OS X</h2>
-{% if {{ MACOS_FILE_DEVELOPMENT }} %} <p>fooo</p> {% endif %}
+{% if MACOS_FILE_DEVELOPMENT is defined %}
<p>
<span class='win-button' id='osx-torrent'>
<a href="//download.gimp.org/pub/gimp/v2.9/osx/{{ MACOS_FILE_DEVELOPMENT }}.torrent">
@@ -93,11 +93,15 @@
<kbd>{{ MACOS_HASH_DEVELOPMENT }}</kbd>
</p>
-
-
<h3>Older Downloads</h3>
<p>Previous installers for OSX can be found here: <a
href='//download.gimp.org/mirror/pub/gimp/v2.9/osx/'>download.gimp.org</a>.</p>
+{% else %}
+
+ <p>There is no macOS package yet, sorry.</p>
+
+{% endif %}
+
</div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]