From 1c8f54b0c566abba5576cc1b643aeda626578375 Mon Sep 17 00:00:00 2001
From: zab2
Date: Wed, 13 Feb 2019 15:41:27 +0000
Subject: [PATCH] Add a download box to the lab page. Also more accurate
explanation re lack of Java dependency
---
i2p2www/pages/downloads/lab.html | 34 ++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/i2p2www/pages/downloads/lab.html b/i2p2www/pages/downloads/lab.html
index e17cdec5..d453f883 100644
--- a/i2p2www/pages/downloads/lab.html
+++ b/i2p2www/pages/downloads/lab.html
@@ -1,4 +1,5 @@
{% extends "global/layout.html" %}
+{%- from "downloads/macros" import package_outer with context -%}
{% block title %}I2P Lab{% endblock %}
{% block content %}
{{ _('I2P Laboratory') }}
@@ -15,14 +16,35 @@ We welcome your feedback at the I2P Forum
{{ _('Current Projects') }}
{{ _('Zero-Dependency installer') }}
-{% trans installer='https://download.i2p2.de/experimental/Zero-Installer-0.9.38.exe' %}
-This is an I2P installer for Windows that does not depend on Java. It comes with everything it needs out of the box.
-
-
-Download the installer and double-click on it.
-
+{% trans %}
+This is an I2P installer for Windows that does not depend on existing Java installation . It comes with everything it needs out of the box.
{%- endtrans %}
+
+{% trans %}
+Status: Proof-Of-Concept
+{%- endtrans %}
+
+{%- set name = 'Windows' -%}
+{%- set icon = 'images/download/windows.png' -%}
+{%- set filename = 'Zero-Installer-0.9.38.exe' -%}
+{%- set hash = '113cc899939e918cbdbd6f06efd33479d3623b02ab5e26acd360144b44c08601' -%}
+{% call package_outer('windows', name, icon) %}
+
+
+{% trans -%}
+Download that file and run it.
+{%- endtrans %}
+{% endcall %}
+