[tor-commits] [lego/develop] Update templates

hiro at torproject.org hiro at torproject.org
Tue Apr 7 16:13:24 UTC 2020


commit a2d4d810d71f07b0e6045e957a98f46892bfa6a2
Author: hiro <hiro at torproject.org>
Date:   Thu Sep 12 17:44:25 2019 +0200

    Update templates
---
 templates/macros/parent.html    | 0
 templates/macros/resources.html | 8 ++++++++
 2 files changed, 8 insertions(+)

diff --git a/templates/macros/parent.html b/templates/macros/parent.html
new file mode 100644
index 0000000..e69de29
diff --git a/templates/macros/resources.html b/templates/macros/resources.html
new file mode 100644
index 0000000..e632faf
--- /dev/null
+++ b/templates/macros/resources.html
@@ -0,0 +1,8 @@
+{% macro render_resource(item) %}
+<tr>
+    <td><a href="{{ item|url }}">{{ item.file }}</a></td>
+    <td>{{ item.description }}</td>
+    <td>{{ item.type}}</td>
+    <td>{{ item.date }}</td>
+</tr>
+{% endmacro %}





More information about the tor-commits mailing list