[Blends-commit] [SCM] website branch, master, updated. b1b057c0dc071eb39bc68c8c56dc681fb39b5d78

Ole Streicher ole at aip.de
Mon Jan 25 10:17:41 UTC 2016


The following commit has been merged in the master branch:
commit b1b057c0dc071eb39bc68c8c56dc681fb39b5d78
Author: Ole Streicher <ole at aip.de>
Date:   Mon Jan 25 11:17:09 2016 +0100

    Use alternative tasks pages for hamradio as discussed with irl

diff --git a/webtools/tasks.py b/webtools/tasks.py
index f71216e..58e479f 100755
--- a/webtools/tasks.py
+++ b/webtools/tasks.py
@@ -263,7 +263,7 @@ for lang in languages:
 		except: # simply continue if file does not exist
 			pass
 
-                if data['projectname'] == 'Debian Astro':
+                if data['projectname'] in ('Debian Astro', 'Debian Hamradio'):
 		        template = loader.load('packages.xhtml')
                 else:
                         template = loader.load('tasks.xhtml')
diff --git a/webtools_py3/tasks_udd.py b/webtools_py3/tasks_udd.py
index b64a7dd..f49791b 100755
--- a/webtools_py3/tasks_udd.py
+++ b/webtools_py3/tasks_udd.py
@@ -172,7 +172,7 @@ for lang in languages:
         # Keep the Project lists per task to be able to loop over all tasks in plain package list
         data['projects'][task] = tasks.tasks[task].dependencies
 
-        if data['projectname'] == 'Debian Astro':
+        if data['projectname'] in ('Debian Astro', 'Debian Hamradio'):
             template = loader.load('packages.xhtml')
         else:
             template = loader.load('tasks.xhtml')

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list