Commit 01dc04ef authored by Pili Guerra's avatar Pili Guerra
Browse files

We want to link to training resources in the training repo

parent 548d63c3
{
"all-about-tor" :
{
"label" : "All About Tor",
"name" : "all-about-tor",
"filename" : "all-about-tor-full-pack",
"formats" : ["odp","md"],
"description" : "Full set of slides for Tor Trainings",
"date" : "2019"
}
}
\ No newline at end of file
......@@ -14,16 +14,21 @@
</tr>
</thead>
<tbody>
{% from "macros/resources.html" import render_resource %}
{% for item in this.attachments %}
{{ render_resource(item) }}
{% endfor %}
{% for id, item in bag('training-resources').items() %}
<tr>
<td>{{ item.label}}</td>
<td>{{ item.description }}</td>
<td>
{% for format in item.formats %}
<a href="https://gitweb.torproject.org/community/training.git/plain/{{ item.date }}/{{ item.name }}/{{ item.filename }}.{{format}}">{{ format }}</a>
{% endfor %}
</td>
<td>{{ item.date }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment