aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat/templates/creator_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-17 15:39:46 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-17 15:39:46 -0700
commita4f9a344bb7d80fdb830b764d26eec986a47e4c1 (patch)
treeb7a6c24e57459dfb660d871d0195c6468d307ce8 /python/fatcat/templates/creator_view.html
parent2fed334b353a070b7c7d1ec1b38fd826fa866455 (diff)
downloadfatcat-a4f9a344bb7d80fdb830b764d26eec986a47e4c1.tar.gz
fatcat-a4f9a344bb7d80fdb830b764d26eec986a47e4c1.zip
fix broken basic/boring templates
Diffstat (limited to 'python/fatcat/templates/creator_view.html')
-rw-r--r--python/fatcat/templates/creator_view.html21
1 files changed, 18 insertions, 3 deletions
diff --git a/python/fatcat/templates/creator_view.html b/python/fatcat/templates/creator_view.html
index f7be9f2c..210242aa 100644
--- a/python/fatcat/templates/creator_view.html
+++ b/python/fatcat/templates/creator_view.html
@@ -1,10 +1,25 @@
{% extends "base.html" %}
{% block body %}
-<h1>Creator: {{ creator.id }}</h1>
+<h1>{{ creator.display_name }}</h1>
-TODO:
+<p><b>Given ("first") name:</b> {{ creator.given_name}}
+<p><b>Sur ("family"/"last") name:</b> {{ creator.surname }}
+<p><b>ORCID<sup><a href="https://en.wikipedia.org/wiki/Orcid">?</a></sup></b>:
+{% if creator.orcid != None %}
+ <a href="https://orcid.org/{{creator.orcid}}"><code>{{ creator.orcid }}</code></a>
+{% else %}
+ unknown
+{% endif %}
+<p><b>fatcat Creator Identifier:</b> <code>{{ creator.ident }}</code> (revision #{{ creator.revision }}, {{ creator.state }})
+{% if creator.extra != None %}
+<p><b>Additional Metadata (raw JSON):</b>
+<pre>{{ creator.extra }}</pre>
+{% endif %}
-<pre>{{ creator }}</pre>
+<!--
+Raw JSON Object:
+{{ creator }}
+-->
{% endblock %}