I don't know but this is the current state

This commit is contained in:
Maya Herrscher committed 2026-01-21 09:56:50 +01:00
1 parent 3fff0bcf0d
commit c57a52e075
7 files changed
+86 -4

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>Tagging publications</title>
</head>
<body>
{% if publication %}
{% for author in publication.authors.all %}
<a>{{ author.name }}, </a>
{% endfor %}
<h2>{{ publication.title }} ({{ publication.year }})</h2>
{% if publication.doi %}
<!-- atm this is a link under /tag as well! -->
<a href="https://doi.org/{{ publication.doi }}">{{ publication.doi }}</a>
{% endif %}
{% else %}
<p>No publications are available.</p>
{% endif %}
</body>
</html>
+21
View File
@@ -0,0 +1,21 @@
<!doctype html>
{% load static %}
<link rel="stylesheet" href="{% static 'tag/style.css' %}">
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>List for tagging publications</title>
</head>
<body>
{% if newest_publications %}
<ul>
{% for publication in newest_publications %}
<li><a href="{% url 'detail' publication.cite_key %}/">{{ publication.title }}, {{publication.year}}</a></li>
{% endfor %}
</ul>
{% else %}
<p>No publications are available.</p>
{% endif %}
</body>
</html>