summaryrefslogtreecommitdiff
path: root/templates/work.html
blob: fc9fc55113ac3308d7de45d62f6668b7c5f715c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block thumbail %}{{ this.thumbnail }}{% endblock %}
{% block body %}
<div class="workdescription">
	<h1>{{ this.title }}</h1>
	<table style="width:100%">
		<tr>
			<th></th>
		</tr>
		<tr>
			<td class="work">{{ bag('translation', this.alt, 'time') }}: {{ this.year_start|dateformat('Y-MM-dd') }} - {% if this.ongoing == True %}{{ bag('translation', this.alt, 'ongoing') }}{% else %} {{ this.year_end|dateformat('Y-MM-dd') }} {% endif %}</td>
		</tr>
		{% if this.format %}<tr>
			<td class="work">{{bag('translation', this.alt, 'format')}}: {{this.format}}</td>
		</tr>{% endif %}
		{% if this.tfwebsite == True %}<tr>
			<td class="work link">{{bag('translation', this.alt, 'website')}}: <a href="{{ this.website }}">{{this.website}}</a></td>
		</tr>{% endif %}
		{% if this.tfrepo == True %}<tr>
			<td class="work">Repository: <a href="{{ this.website }}">{{this.repo}}</a> </td>
		</tr>{% endif %}
		{% if this.tfcollaborator == true %}<tr>
			<td class="work">{{bag('translation', this.alt, 'collaborators')}}: {% for collaborator in this.collaborators.blocks %}{{ collaborator }} {% endfor %}</td>
		</tr>{% endif %}
	</table>
</div>
<div class="pagework">
	<div class="pageinner">
		{{ this.content }}
    </div>
</div>
{% endblock %}