From 012e5574100dab7e8bd38ad4529214689125f430 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 9 Apr 2024 15:54:11 -0400 Subject: [PATCH] show work author in ui --- catalog/templates/work.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/catalog/templates/work.html b/catalog/templates/work.html index 81242829..263e0fe7 100644 --- a/catalog/templates/work.html +++ b/catalog/templates/work.html @@ -20,6 +20,15 @@ {% endfor %} {% endif %} +
+ {% if item.author %} + {% trans '作者:' %} + {% for author in item.author %} + {{ author }} + {% if not forloop.last %}/{% endif %} + {% endfor %} + {% endif %} +
{% endblock %} {% block left_sidebar %}{% endblock %}