diff templates/data @ 260:dd7fababf8b6

Working version of the download button with simple OS detection
author David Soria Parra <dsp@php.net>
date Sun, 04 Oct 2009 05:03:28 +0200
parents 37c381bc813d
children b7d5f97e1034
line wrap: on
line diff
--- a/templates/data	Sun Oct 04 04:21:47 2009 +0200
+++ b/templates/data	Sun Oct 04 05:03:28 2009 +0200
@@ -1,1 +1,9 @@
-{% set downloads = {'1.3.1': {'windows': 'linkwin', 'os.x': 'linkosx'}} %}
\ No newline at end of file
+{% set downloads = {
+    'current': '1.3.1',
+    '1.3.1': {
+        'Windows (Tortoise HG)': 'http://bitbucket.org/tortoisehg/stable/downloads/TortoiseHg-0.8.1-hg-1.3.1.exe',
+        'Windows': 'http://mercurial.berkwood.com/binaries/Mercurial-1.3.1.exe',
+        'Mac OS X 10.6': 'http://mercurial.berkwood.com/binaries/Mercurial-1.3.1-py2.6-macosx10.6.zip',
+        'Mac OS X 10.5': 'http://mercurial.berkwood.com/binaries/Mercurial-1.3.1-py2.5-macosx10.5.zip',
+        'Source code': 'http://www.selenic.com/mercurial/release/mercurial-1.3.1.tar.gz'}}
+%}