summaryrefslogtreecommitdiffstats
path: root/webface/templates/work_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-03-21 18:53:43 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-03-21 18:53:43 -0700
commit33492754881a27c88f6a1ed38e463bba15ecf837 (patch)
treee290f0719bc14c2d9590112652f8864ab9246229 /webface/templates/work_view.html
parentd66fed95534d7a443e2cf84e9290d0c9bdf72311 (diff)
downloadfatcat-33492754881a27c88f6a1ed38e463bba15ecf837.tar.gz
fatcat-33492754881a27c88f6a1ed38e463bba15ecf837.zip
merge front and back
Diffstat (limited to 'webface/templates/work_view.html')
-rw-r--r--webface/templates/work_view.html37
1 files changed, 0 insertions, 37 deletions
diff --git a/webface/templates/work_view.html b/webface/templates/work_view.html
deleted file mode 100644
index 8c5e955d..00000000
--- a/webface/templates/work_view.html
+++ /dev/null
@@ -1,37 +0,0 @@
-{% extends "base.html" %}
-{% block body %}
-
-<h1>{{ work.title }}</h1>
-
-<p>Work type: {{ work.type }}
-<p><a href="/work/{{ work.id }}/history">History</a>
-<p>Contributors:
-{% for c in work.contributors %} {{ c.name }}; {% endfor %}
-
-{% if primary %}
-<h2>Primary Release/Edition</h2>
-<p>Title: {{ primary.title }}
-<p>Date: {{ primary.date }}
-
-{% if primary.container %}
-<p>Container: <a href="/container/{{ primary.container.id }}">{{ primary.container.title }}</a>
-{% endif %}
-
-{% if primary.doi %}
-<p>DOI: <a href="https://dx.doi.org/{{ primary.doi }}">{{ primary.doi }}</a>
-{% endif %}
-
-{% else %}
-<p>No primary release
-{% 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 %}