forked from mirror/Part-DB.Part-DB-server
Show entity preview image on admin page
This commit is contained in:
parent
d3023ea945
commit
a925597565
5 changed files with 22 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue