Improved styling of the parts info page

This commit is contained in:
Jan Böhmer 2023-02-05 20:50:19 +01:00
parent f351d65065
commit 13de2afc28
6 changed files with 43 additions and 14 deletions

View file

@ -168,6 +168,14 @@
{% endif %}
{% endmacro %}
{% macro entity_last_modified(entity, datetime_format = "short") %}
{{ _self.date_user_combination(entity, true, datetime_format) }}
{% endmacro %}
{% macro entity_created_at(entity, datetime_format = "short") %}
{{ _self.date_user_combination(entity, false, datetime_format) }}
{% endmacro %}
{% macro user_icon(user) %}
<img src="{{ avatar_helper.avatarSmURL(user) }}" class="avatar-xs" alt="User avatar" {{ stimulus_controller('elements/hoverpic') }} data-thumbnail="{{ avatar_helper.avatarMdURL(user) }}">
{% endmacro %}