summaryrefslogtreecommitdiff
path: root/templates/work.html
diff options
context:
space:
mode:
authorjoak <joak@nospace.at>2020-08-17 11:55:24 +0200
committerjoak <joak@nospace.at>2020-08-17 11:55:24 +0200
commitf60e9ccd5b046101903a79bf6afa0cf87fdd956c (patch)
treedb29d0f55a1bc3347b63341551fa05308554101d /templates/work.html
init
Diffstat (limited to 'templates/work.html')
-rw-r--r--templates/work.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/work.html b/templates/work.html
new file mode 100644
index 0000000..f51571b
--- /dev/null
+++ b/templates/work.html
@@ -0,0 +1,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">{{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 %}