2019-04-26 19:12:48 +02:00
|
|
|
{% extends "AdminPages/EntityAdminBase.html.twig" %}
|
|
|
|
|
|
|
|
{% block additional_controls %}
|
|
|
|
{{ form_row(form.address) }}
|
|
|
|
{{ form_row(form.phone_number) }}
|
|
|
|
{{ form_row(form.fax_number) }}
|
|
|
|
{{ form_row(form.email_address) }}
|
|
|
|
{{ form_row(form.website) }}
|
|
|
|
{{ form_row(form.auto_product_url) }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block comment %}{% endblock %}
|
|
|
|
|
|
|
|
{% block additional_pills %}
|
2019-08-14 15:41:01 +02:00
|
|
|
<li class="nav-item"><a data-toggle="tab" class="nav-link link-anchor" href="#home_advanced">{% trans %}admin.advanced{% endtrans %}</a></li>
|
2019-04-26 19:12:48 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block additional_panes %}
|
2019-08-14 15:41:01 +02:00
|
|
|
<div class="tab-pane" id="home_advanced">
|
2019-04-26 19:12:48 +02:00
|
|
|
{{ form_row(form.comment) }}
|
|
|
|
</div>
|
2020-05-26 22:59:24 +02:00
|
|
|
{% endblock %}
|
2019-04-26 19:12:48 +02:00
|
|
|
|
2020-05-26 22:59:24 +02:00
|
|
|
{% block quick_links %}
|
|
|
|
{% if entity.website is not empty %}
|
|
|
|
<a href="{{ entity.website }}" title="{% trans %}company.edit.quick.website{% endtrans %}" data-no-ajax><i class="fas fa-globe fa-fw fa-lg"></i></a>
|
|
|
|
{% endif %}
|
|
|
|
{% if entity.emailAddress is not empty %}
|
|
|
|
<a href="mailto:{{ entity.emailAddress }}" title="{% trans %}company.edit.quick.email{% endtrans %}" data-no-ajax><i class="fas fa-envelope-open-text fa-lg"></i></a>
|
|
|
|
{% endif %}
|
|
|
|
{% if entity.phoneNumber is not empty %}
|
|
|
|
<a href="tel:{{ entity.phoneNumber | replace({' ': ''}) }}" title="{% trans %}company.edit.quick.phone{% endtrans %}" data-no-ajax><i class="fas fa-phone fa-lg"></i></a>
|
|
|
|
{% endif %}
|
|
|
|
{% if entity.faxNumber is not empty %}
|
|
|
|
<a href="tel:{{ entity.faxNumber | replace({' ': ''}) }}" title="{% trans %}company.edit.quick.fax{% endtrans %}" data-no-ajax><i class="fas fa-fax fa-lg"></i></a>
|
|
|
|
{% endif %}
|
2019-04-26 19:12:48 +02:00
|
|
|
{% endblock %}
|