diff --git a/templates/AdminPages/CompanyAdminBase.html.twig b/templates/AdminPages/CompanyAdminBase.html.twig index e809d509..a9d79534 100644 --- a/templates/AdminPages/CompanyAdminBase.html.twig +++ b/templates/AdminPages/CompanyAdminBase.html.twig @@ -19,5 +19,19 @@
{{ form_row(form.comment) }}
+{% endblock %} +{% block quick_links %} + {% if entity.website is not empty %} + + {% endif %} + {% if entity.emailAddress is not empty %} + + {% endif %} + {% if entity.phoneNumber is not empty %} + + {% endif %} + {% if entity.faxNumber is not empty %} + + {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/AdminPages/EntityAdminBase.html.twig b/templates/AdminPages/EntityAdminBase.html.twig index 817b6c2a..b191de35 100644 --- a/templates/AdminPages/EntityAdminBase.html.twig +++ b/templates/AdminPages/EntityAdminBase.html.twig @@ -46,6 +46,7 @@ {% if timeTravel is defined and timeTravel is not null %} ({{ timeTravel|format_datetime('short') }}) {% endif %} + {% block quick_links %}{% endblock %} {% else %} {% block new_title %}{% trans %}new.caption{% endtrans %}{% endblock %} {% endif %} diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 441af770..a2fdcce0 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -9076,112 +9076,142 @@ Element 3 - + entity.delete.must_not_contain_parts Element still contains parts! You have to move the parts, to be able to delete this element. - + entity.delete.must_not_contain_attachments Attachment type still contains attachments. Change their type, to be able to delete this attachment type. - + entity.delete.must_not_contain_prices Currency still contains pricedetails. You have to change their currency to be able to delete this element. - + entity.delete.must_not_contain_users Users still uses this group! Change their group, to be able to delete this group. - + part.table.edit Edit - + part.table.edit.title Edit part - + part_list.action.action.title Select action - + part_list.action.action.group.favorite Favorite status - + part_list.action.action.favorite Favorite - + part_list.action.action.unfavorite Unfavorite - + part_list.action.action.group.change_field Change field - + part_list.action.action.change_category Change category - + part_list.action.action.change_footprint Change footprint - + part_list.action.action.change_manufacturer Change manufacturer - + part_list.action.action.change_unit Change part unit - + part_list.action.action.delete Delete - + part_list.action.submit Submit - + part_list.action.part_count %count% parts selected! + + + company.edit.quick.website + Open website + + + + + company.edit.quick.email + Send email + + + + + company.edit.quick.phone + Call phone + + + + + company.edit.quick.fax + Send fax + + + + + company.fax_number.placeholder + e.g. +49 1234 567890 + +