beeware.github.io/templates/team.html
2020-06-03 09:16:37 +08:00

34 lines
1,012 B
HTML

{% extends "page.html" %}
{% from "macros/member-badge.html" import member_badge %}
{% block body %}
<div class="row">
<div class="col-xs-12 col-sm-7 col-md-7 col-lg-8 col-xl-9">
{{ this.body }}
</div>
</div>
<h2>Current team</h2>
{% for child in this.children.filter(F.emeritus_date == null) %}
<div class="row team">
<div class="col-xs-12 col-sm-7 col-md-7 col-lg-8 col-xl-9">
<h3>{{ child.name }}</h3>
<p>{{ child.description }}</p>
</div>
<div class="col-xs-12 col-sm-5 col-md-5 col-lg-4 col-xl-3 gutter">
{{ member_badge(child) }}
</div>
</div>
{% endfor %}
<h2>Emeritus team members</h2>
{% for child in this.children.filter(F.emeritus_date != null).order_by('emeritus_date') %}
<div class="row team">
<div class="col-xs-12 col-sm-7 col-md-7 col-lg-8 col-xl-9">
<h3>{{ child.name }}</h3>
<p>{{ child.description }}</p>
</div>
<div class="col-xs-12 col-sm-5 col-md-5 col-lg-4 col-xl-3 gutter">
{{ member_badge(child) }}
</div>
</div>
{% endfor %}
{% endblock %}