[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [lego/master] Update templates
commit a2d4d810d71f07b0e6045e957a98f46892bfa6a2
Author: hiro <hiro@xxxxxxxxxxxxxx>
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 %}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits