Show entity preview image on admin page

This commit is contained in:
Jan Böhmer 2023-02-05 20:00:11 +01:00
parent d3023ea945
commit a925597565
5 changed files with 22 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{# Renders an btn toolbar to quickly call/email or visit the website of a company #}
{% macro company(entity) %}
<div class="btn-toolbar">
<div class="btn-toolbar" style="display: inline-block;">
<div class="btn-group">
{% if entity.website is not empty %}
<a class="btn btn-outline-secondary" href="{{ entity.website }}" title="{% trans %}company.edit.quick.website{% endtrans %}" target="_blank" rel="nofollow"><i class="fas fa-globe fa-fw"></i></a>