moviewyrm/bookwyrm/templates/lists/created_text.html

13 lines
731 B
HTML
Raw Normal View History

2021-03-07 18:24:46 +00:00
{% load i18n %}
{% spaceless %}
{% if list.curation == 'group' %}
2021-09-27 09:27:39 +00:00
{% blocktrans with username=list.user.display_name userpath=list.user.local_path groupname=list.group.name grouppath=list.group.local_path %}Created by <a href="{{ userpath }}">{{ username }}</a> and managed by <a href="{{ grouppath }}">{{ groupname }}</a>{% endblocktrans %}
{% elif list.curation != 'open' %}
2021-03-07 18:24:46 +00:00
{% blocktrans with username=list.user.display_name path=list.user.local_path %}Created and curated by <a href="{{ path }}">{{ username }}</a>{% endblocktrans %}
{% else %}
{% blocktrans with username=list.user.display_name path=list.user.local_path %}Created by <a href="{{ path }}">{{ username }}</a>{% endblocktrans %}
{% endif %}
{% endspaceless %}