mirror of
https://github.com/torproject/community.git
synced 2024-11-23 09:49:49 +00:00
49 lines
1.8 KiB
HTML
49 lines
1.8 KiB
HTML
<div class="row pt-5">
|
|
{% include 'sidenav.html' %}
|
|
<div class="col-sm-12 col-xs-12 ml-sm-auto col-md-9 col-lg-9 {{ bag('alternatives', this.alt, 'order') }}">
|
|
{{ this.body }}
|
|
|
|
<div class="row">
|
|
{% for id, item in bag('community-training-materials').items() %}
|
|
{% if item.type=='official' %}
|
|
<div class="col-md-3 col-sm-12 col-xl-3 my-3">
|
|
<div class="card h-100">
|
|
<div class="card-header bg-white border-0">
|
|
<picture>
|
|
<img src="{{ item.cover }}" class="img-fluid" alt="{{ item.name }}">
|
|
</picture>
|
|
</div>
|
|
<div class="card-body">
|
|
<h5 class="card-title human-name">{{ item.name }}</h5>
|
|
<p>{{ item.description }}</p>
|
|
|
|
<p><i>{{ item.languages }}</i></p>
|
|
</p>format: {{ item.formats }}</p>
|
|
<p>Released: {{ item.date }}</p>
|
|
<a href="{{ item.link }}" title="{{ item.name }}" class="btn btn-primary">Check this resource</a>
|
|
</div>
|
|
</div>
|
|
{% else %}
|
|
<div class="col-md-3 col-sm-12 col-xl-3 my-3">
|
|
<div class="card h-100">
|
|
<div class="card-header bg-white border-0">
|
|
<picture>
|
|
<img src="{{ item.cover }}" class="img-fluid" alt="{{ item.name }}">
|
|
</picture>
|
|
</div>
|
|
<div class="card-body">
|
|
<h5 class="card-title human-name">{{ item.name }}</h5>
|
|
<p>{{ item.description }}</p>
|
|
<p><i>{{ item.languages }}</i></p>
|
|
<p>Released: {{ item.date }}</p>
|
|
<a href="{{ item.link }}" title="{{ item.name }}" class="btn btn-primary">Download</a>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|