Skip to content

Commit

Permalink
show work author in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name authored and alphatownsman committed Apr 9, 2024
1 parent 353be79 commit 012e557
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions catalog/templates/work.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
{% endfor %}
{% endif %}
</div>
<div>
{% if item.author %}
{% trans '作者:' %}
{% for author in item.author %}
<span>{{ author }}</span>
{% if not forloop.last %}/{% endif %}
{% endfor %}
{% endif %}
</div>
{% endblock %}
{% block left_sidebar %}{% endblock %}
<!-- class specific sidebar -->
Expand Down

0 comments on commit 012e557

Please sign in to comment.