[gimp-web] downloads: updated development tarball listing



commit 4f4363f05211b2a1c92b48fa4d9e0aed0f865445
Author: Michael Schumacher <schumaml gmx de>
Date:   Sun Dec 27 20:20:22 2020 +0100

    downloads: updated development tarball listing

 .../newgimp/templates/downloads-development.html   | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/themes/newgimp/templates/downloads-development.html 
b/themes/newgimp/templates/downloads-development.html
index ca11c7cc..04c7490c 100644
--- a/themes/newgimp/templates/downloads-development.html
+++ b/themes/newgimp/templates/downloads-development.html
@@ -327,22 +327,28 @@
     <p>GIMP {{ GIMP_VERSION_DEVELOPMENT }} is now available at <a 
href='//download.gimp.org/mirror/pub/gimp/v{{ GIMP_VERSION_DEVELOPMENT.split('.')[0] }}.{{ 
GIMP_VERSION_DEVELOPMENT.split('.')[1] }}/'>https://download.gimp.org/mirror/pub/gimp/v{{ 
GIMP_VERSION_DEVELOPMENT.split('.')[0] }}.{{ GIMP_VERSION_DEVELOPMENT.split('.')[1] }}/</a>.
     </p>
 
-    <p>To allow you to check the integrity of the tarballs, here are the MD5 sums of the latest releases:</p>
+    <p>To allow you to check the integrity of the tarballs, here are the  sums of the latest releases:</p>
 
     {% if GIMP.DEVELOPMENT %}
+        <dl>
         {% for values in GIMP.DEVELOPMENT %}
-            {% set version = values['version'] %}
-            {% set ver = version.split('.') %}
             {% if 'source' in values %}
-            <p>
-                <a href="//download.gimp.org/mirror/pub/gimp/v{{ ver[0] }}.{{ ver[1] }}/{{ 
values['source'][0]['filename'] }}"><strong>{{ values['source'][0]['filename'] }}</strong></a><br>
-                <kbd>{{ values['source'][0]['md5'] }}</kbd>
-            </p>
+              <dt><strong>{{ values['source'][0]['filename'] }}</strong>
+              {% if 'sha256' in values['source'][0] %}
+              (sha256): </dt>
+              <dd><kbd>{{ values['source'][0]['sha256'] }}</kbd></dd>
+              {% elif 'sha512' in values['source'][0] %}
+              (sha512): </dt>
+              <dd><kbd>{{ values['source'][0]['sha512'] }}</kbd></dd>
+              {% elif 'md5' in values['source'][0] %}
+              (md5): </dt>
+              <dd><kbd>{{ values['source'][0]['md5'] }}</kbd></dd>
+              {% endif %}
             {% endif %}
         {% endfor %}
+        </dl>
     {% endif %}
 
-
     <p>
         GIMP help files are available at <a 
href='//download.gimp.org/mirror/pub/gimp/help/'>https://download.gimp.org/mirror/pub/gimp/help/</a>.
     </p>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]