Link from collection to its creator if exists

master
Felix Stupp 2 years ago
parent 7ff9a821c5
commit 4c9b1b0845
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -20,6 +20,12 @@
{{ macros.post_form(api_uri, "reset_ignored_marks", "True", "reset ignored") }}
{{ macros.no_input_post_form("/api/refresh/collection/" + collection.id|string, "refresh") }}
</li>
{% if collection.has_creator and not collection.is_creator %}
<li>
Creator:
{{ macros.collection_entry_content(collection.creator) }}
</li>
{% endif %}
<li>
Pinned:
{{ collection.pinned | tenary("Yes", "no") }}

@ -153,6 +153,10 @@
{{- link_position_marker(link, prefix=true) -}}
{%- endmacro %}
{% macro collection_entry_content(collection) %}
<a href="{{ collection.info_link }}">{{ collection.title }}</a>
{%- endmacro %}
{% macro media_entry(element) %}
<li id="media_element_{{ element.id }}">
{{ media_entry_content(element) }}

Loading…
Cancel
Save