2017-05-07 17:01:05 +02:00
|
|
|
{% extends "base.html" %}
|
2017-05-07 17:12:04 +02:00
|
|
|
|
|
|
|
{% block title %} – Publications{% endblock %}
|
|
|
|
|
|
|
|
{% block meta %}
|
|
|
|
{{ super() }}
|
|
|
|
<script type="text/javascript">
|
|
|
|
function disp(s) {
|
|
|
|
var win;
|
|
|
|
var doc;
|
|
|
|
win = window.open("", "WINDOWID");
|
|
|
|
doc = win.document;
|
|
|
|
doc.open("text/plain");
|
|
|
|
doc.write("<pre>" + s + "</pre>");
|
|
|
|
doc.close();
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-05-07 17:01:05 +02:00
|
|
|
{% block content %}
|
|
|
|
|
2017-05-07 17:12:04 +02:00
|
|
|
<article class="single">
|
|
|
|
<header>
|
|
|
|
{% import 'partial/translations.html' as translations with context %}
|
|
|
|
{{ translations.translations_for(publications) }}
|
|
|
|
<h1 id="publications">Publications</h1>
|
|
|
|
</header>
|
|
|
|
<div>
|
|
|
|
{% block before_content %}{% endblock %}
|
2017-05-07 18:32:40 +02:00
|
|
|
{% for group in publications|groupby(1)|reverse %}
|
|
|
|
<h3 id="{{ group.grouper }}">{{ group.grouper }}</h3>
|
|
|
|
<ul>
|
|
|
|
{% for key, year, text, bibtex, pdf, slides, poster in group.list %}
|
|
|
|
<li id="{{ key }}">{{ text }}
|
|
|
|
[ <a href="javascript:disp('{{ bibtex|replace('\n', '\\n')|escape|forceescape }}');">Bibtex</a> ]
|
|
|
|
{% for label, target in [('PDF', pdf), ('Slides', slides), ('Poster', poster)] %}
|
|
|
|
{{ "[ <a href=\"%s\">%s</a> ]" % (target, label) if target }}
|
2017-05-07 17:12:04 +02:00
|
|
|
{% endfor %}
|
2017-05-07 18:32:40 +02:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2017-05-07 17:01:05 +02:00
|
|
|
{% endfor %}
|
2017-05-07 17:12:04 +02:00
|
|
|
{% block after_content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
|
2017-05-07 17:01:05 +02:00
|
|
|
{% endblock %}
|