{% load thumbnail %}

{{ first_name }} {{ last_name }}

{% for o in occupations %} {{ o.name }}{% if not forloop.last %},{% endif %} {% endfor %}

{{ about }}

Based in: (City)
Languages I work in: {% for lang in languages %} {{ lang.name }}{% if not forloop.last %},{% endif %} {% endfor %}
DOB: {{ dob|date:"d M, Y" }}
Gender: {{ gender }}
Contact
Some text


{% if trainings %}
Training
{% for training in trainings %}
{{ training.area }}, {% if training.person %} {{ training.person}}, {% else %} {{ training.with_whom }} {% endif %} {% if training.where %} {{ training.where }}, {% endif %} {% if training.locations %} {% for location in training.locations %} {{ location.city.name }}{% if not forloop.last %},{% endif %} {% endfor %} {% endif %}
{% endfor %}

{% endif %} {% if awards %}
Awards
{% for award in awards %}
{{ award.title }} {% if award.year %}, {{ award.year }} {% endif %} {% if award.link %}, link {% endif %}
{% endfor %}

{% endif %} {% if buzzitems %}
More
{% for item in buzzitems %} {{ item.title }}
{{ item.blurb }}
{% endfor %}
{% endif %}
Help text - to send them to script archive

Title
One line description. Extra information goes here

Title
One line description. Extra information goes here

Title
One line description. Extra information goes here

{% if groups %}
Member of

{% for group in groups %}
/static/images/150x150.jpg
{{ group.group.name }}
{{ group.group.locations.0.city.name }}
{{ group.role }}
{% endfor %} {% endif %} {% if connections %}
Worked with

{% for connection in connections %} {% ifequal connection.person1 obj %}
/static/images/150x150.jpg
{{ connection.person2.first_name }} {{ connection.person2.last_name }}
{{ connection.person2.about|truncatewords:40 }}
{{ connection.person2.locations.0.city.name }}
{% else %}
/static/images/150x150.jpg
{{ connection.person1.first_name }} {{ connection.person1.last_name }}
{{ connection.person1.about|truncatewords:40 }}
{{ connection.person1.locations.0.city.name }}
{% endifequal %} {% endfor %} {% endif %}
{% if productions %}

Productions

{% for p in productions %}
/static/images/150x150.jpg
{{ p.production.name }}
Group: {{ p.production.group.name }}
{{ p.years }}
{% endfor %}
{% endif %} {% if resources %}
{% for r in resources %}
{{ r.title }}
{{ r.desc }}
{% if r.url %}
{{ r.url }}
{% endif %} {% if r.fil %} Download {% endif %}
{% if r.thumbnail %} {% thumbnail r.thumbnail "150x150" crop="center" as thumb %} {% endthumbnail %} {% else %} /static/images/150x150.jpg {% endif %}
{% endfor %}
{% endif %}