person template ... data points added to templates..revision 1.0
This commit is contained in:
parent
88e286d66a
commit
e9211738bc
|
@ -11,14 +11,212 @@
|
|||
|
||||
<div id="about" class="tab_content">
|
||||
A brief bio and a history of work. should be able to add photos here
|
||||
|
||||
{% if image %}
|
||||
<span class="orange"> Photo : </span>
|
||||
<img href={{ image.get_absolute_url }} </img>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if first_name %}
|
||||
<span class="orange"> Name : </span> {{ first_name }}
|
||||
{% endif %} <br/>
|
||||
{% if last_name %}
|
||||
{{ last_name }}
|
||||
{% endif %} <br/>
|
||||
<br/>
|
||||
|
||||
{% if about %}
|
||||
<span class="orange"> About : </span> {{ about }}
|
||||
{% endif %} <br/>
|
||||
{% if user %}
|
||||
<span class="orange"> Username : </span> {{ user }}
|
||||
{% endif %} <br/>
|
||||
{% if tel_no %}
|
||||
<span class="orange"> Tel_no : </span> {{ tel_no }}
|
||||
{% endif %} <br/>
|
||||
|
||||
{% if dob %}
|
||||
<span class="orange"> Date-of-birth : </span> {{ dob }}
|
||||
{% endif %} <br/>
|
||||
|
||||
{% if is_practioner %}
|
||||
<span class="orange"> Practioner </span> {{ is_practioner }}
|
||||
{% endif %} <br/>
|
||||
{% if is_enthusiast %}
|
||||
<span class="orange"> Enthusiast : </span> {{ is_enthusiast }}
|
||||
{% endif %} <br/>
|
||||
{% if is_freelancer %}
|
||||
<span class="orange"> Freelancer : </span> {{ is_freelancer }}
|
||||
{% endif %} <br/>
|
||||
{% if gender %}
|
||||
<span class="orange"> Gender : </span> {{ gender }}
|
||||
{% endif %} <br/>
|
||||
|
||||
{% if occupations %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Occupations: </span>
|
||||
<ul>
|
||||
{% for work in occupations %}
|
||||
<li>{{ work.name }} {% if work.is_main %} - Primary occupation {% endif %} </li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if locations %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Locations: </span>
|
||||
<ul>
|
||||
{% for place in locations %}
|
||||
<li>
|
||||
{{ place.city }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if trainings %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Trainings: </span>
|
||||
<ul>
|
||||
{% for training in trainings %}
|
||||
<li>{{ training }} {{ training.title }} {{ training.desc }} {{ training.person }} {{ training.area }} {{ training.with_whom }} {{ training.where }} {{ training.from_when }} {{ training.until_when }}
|
||||
</li>
|
||||
{% for loc in training.locations.all %} {{ loc.city }} {% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if languages %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Languages: </span>
|
||||
<ul>
|
||||
{% for elem in languages %}
|
||||
<li>
|
||||
{{ elem.name }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %} <br/>
|
||||
|
||||
|
||||
{% if awards %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Awards: </span>
|
||||
<ul>
|
||||
{% for elem in awards %}
|
||||
<li>
|
||||
{% if elem.link %} <a href="{{ elem.link }}"> {% endif %} {{ elem.title }} {% if elem.link %} </a> {% endif %}
|
||||
{% if elem.year %} {{ elem.year }} {% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if buzzitems %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Buzz Items: </span>
|
||||
|
||||
<ul>
|
||||
{% for elem in buzzitems %}
|
||||
<li>
|
||||
{% if elem.link %}
|
||||
<a href={{ elem.link }}> {{ elem.title }}>
|
||||
{% endif %}
|
||||
|
||||
{% if elem.link %}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<br/>
|
||||
Desc: {{ elem.blurb }}
|
||||
<br/>
|
||||
Type:{{ elem.typ }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id="people" class="tab_content">
|
||||
Active Members, Associates, (Fans? - maybe this is a link with a list popout, so they are not perceived as internal to the group). Photos of users on site should show up. We must SEE the community. Noel needs to send a design for tha tab, which will be used across all "People" tabs.
|
||||
|
||||
{% if groups %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Theatre Groups: </span>
|
||||
<ul>
|
||||
{% for elem in groups %}
|
||||
<li>
|
||||
<a href={{ elem.get_absolute_url }}> {{ elem.name }} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %} <br/>
|
||||
|
||||
|
||||
|
||||
{% if connections_from or connections_to %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Connections: </span>
|
||||
{% if connections_from %} <ul>
|
||||
{% for elem in connections_from %}
|
||||
<li>
|
||||
{{ elem.relation.name }}
|
||||
<a href={{ elem.person2.get_absolute_url }}> {{ person2.name }} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if connections_to %} <ul>
|
||||
{% for elem in connections_to %}
|
||||
<li>
|
||||
{{ elem.relation.name }}
|
||||
<a href={{ elem.person1.get_absolute_url }}> {{ person1.name }} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %} <br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id="production" class="tab_content">
|
||||
Title of each production links to "Productions" page.
|
||||
|
||||
{% if productions %}
|
||||
<div id="" class="">
|
||||
<span class="orange">Productions: </span>
|
||||
<ul>
|
||||
{% for elem in productions %}
|
||||
<li> <a href={{ elem.get_absolute_url }}> {{ elem.name }} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %} <br/>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id="gallery" class="tab_content">
|
||||
|
|
Loading…
Reference in New Issue
Block a user