blob: 35ea01aa599ac96ca07163aa54b7f5691d822fe4 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{% extends "common/base.j2" %}
{% block body_content %}
<article class="container">
<header>
<h1>{{ _("GNU Taler Bibliography")}}</h1>
</header>
<main id="maincontent">
<div class="row">
<div class="col-lg-12">
{% for item in conf["paperslist"] %}
<section>
<header>
<h2>{{ item['name']|e }}</h2>
</header>
<div class="row container">
<div class="col">
<p>
{% if item['url_pdf'] %}
<a href="{{ url(item['url_pdf']) }}">
<img border=0 align=right alt="PDF" width=32 height=32 src="{{ url_static('images/pdf.svg') }}">
</a>
{% endif %}
{% if item['url_html'] %}
<a href="{{ item['url_html'] }}">
<img border=0 align=right alt="HTML" width=32 height=32 src="{{ url_static('images/html.svg') }}">
</a>
{% endif %}
{{_("by")}}
{% if item['authors'] %}
{% for name in item['authors'] %}
{{ name|e }}
{% if not loop.last %}
,
{% elif loop.revindex0 == 1 %}
{{ _("and") }}
{% endif %}
{% endfor %}
{% endif %}
<br>
{% if item['kind'] %} {{ item['kind']|e }} {% endif %}
{% if item['year'] %} ({{ item['year'] }}) {% endif %}
{% if item['comment'] %}<br>{{ item['comment'] }} {% endif %}
</p>
</div>
</div>
</section>
{% endfor %}
</div>
</div>
</article>
{% endblock body_content %}
|