mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-24 03:49:31 +00:00
Improved styling of the parts info page
This commit is contained in:
parent
f351d65065
commit
13de2afc28
6 changed files with 43 additions and 14 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue