summaryrefslogtreecommitdiffstats
path: root/python/fatcat/templates/release_view.html
blob: ee68161c60a8832b89ffd4f947da9377284acf6c (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
{% extends "base.html" %}
{% block body %}

<h1>{{ release.title }}</h1>

<p>Release type: {{ release.type }}
<p><a href="/release/{{ release.id }}/history">History</a>
<p>Contributors:
{% for c in release.contributors %} {{ c.name }}; {% endfor %}

<p>Title: {{ release.title }}
<p>Date: {{ release.date }}

{% if release.container %}
<p>Container: <a href="/container/{{ release.container.id }}">{{ release.container.title }}</a>
{% endif %}

{% if release.doi %}
<p>DOI: <a href="https://dx.doi.org/{{ release.doi }}">{{ release.doi }}</a>
{% endif %}

{% if releases %}
<ul>
{% for r in releases %}
  <ul><a href="/release/{{ r.id }}">{{ r.title }}</a> ({{ y.date }} - {{ y.release_type }})
{% endfor %}
</ul>
{% else %}
{% endif %}

{% endblock %}