mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added quick links to visit webpage, send emails, etc. to company admin page.
This commit is contained in:
parent
6ecc32b228
commit
915287de48
3 changed files with 63 additions and 18 deletions
|
@ -19,5 +19,19 @@
|
||||||
<div class="tab-pane" id="home_advanced">
|
<div class="tab-pane" id="home_advanced">
|
||||||
{{ form_row(form.comment) }}
|
{{ form_row(form.comment) }}
|
||||||
</div>
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% 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 %}
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -46,6 +46,7 @@
|
||||||
{% if timeTravel is defined and timeTravel is not null %}
|
{% if timeTravel is defined and timeTravel is not null %}
|
||||||
({{ timeTravel|format_datetime('short') }})
|
({{ timeTravel|format_datetime('short') }})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<span class="float-right">{% block quick_links %}{% endblock %}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<strong>{% block new_title %}{% trans %}new.caption{% endtrans %}{% endblock %}</strong>
|
<strong>{% block new_title %}{% trans %}new.caption{% endtrans %}{% endblock %}</strong>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -9076,112 +9076,142 @@ Element 3</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="D6I2Q6C" name="entity.delete.must_not_contain_parts">
|
<unit id="D6I2Q6C" name="entity.delete.must_not_contain_parts">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>entity.delete.must_not_contain_parts</source>
|
<source>entity.delete.must_not_contain_parts</source>
|
||||||
<target>Element still contains parts! You have to move the parts, to be able to delete this element.</target>
|
<target>Element still contains parts! You have to move the parts, to be able to delete this element.</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="hu8Y98Q" name="entity.delete.must_not_contain_attachments">
|
<unit id="hu8Y98Q" name="entity.delete.must_not_contain_attachments">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>entity.delete.must_not_contain_attachments</source>
|
<source>entity.delete.must_not_contain_attachments</source>
|
||||||
<target>Attachment type still contains attachments. Change their type, to be able to delete this attachment type.</target>
|
<target>Attachment type still contains attachments. Change their type, to be able to delete this attachment type.</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="OewVQB8" name="entity.delete.must_not_contain_prices">
|
<unit id="OewVQB8" name="entity.delete.must_not_contain_prices">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>entity.delete.must_not_contain_prices</source>
|
<source>entity.delete.must_not_contain_prices</source>
|
||||||
<target>Currency still contains pricedetails. You have to change their currency to be able to delete this element.</target>
|
<target>Currency still contains pricedetails. You have to change their currency to be able to delete this element.</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="L93n2S_" name="entity.delete.must_not_contain_users">
|
<unit id="L93n2S_" name="entity.delete.must_not_contain_users">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>entity.delete.must_not_contain_users</source>
|
<source>entity.delete.must_not_contain_users</source>
|
||||||
<target>Users still uses this group! Change their group, to be able to delete this group.</target>
|
<target>Users still uses this group! Change their group, to be able to delete this group.</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="72lMzIQ" name="part.table.edit">
|
<unit id="72lMzIQ" name="part.table.edit">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part.table.edit</source>
|
<source>part.table.edit</source>
|
||||||
<target>Edit</target>
|
<target>Edit</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="AGwzXa0" name="part.table.edit.title">
|
<unit id="AGwzXa0" name="part.table.edit.title">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part.table.edit.title</source>
|
<source>part.table.edit.title</source>
|
||||||
<target>Edit part</target>
|
<target>Edit part</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="uAVyHXQ" name="part_list.action.action.title">
|
<unit id="uAVyHXQ" name="part_list.action.action.title">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.title</source>
|
<source>part_list.action.action.title</source>
|
||||||
<target>Select action</target>
|
<target>Select action</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="bAPfHqL" name="part_list.action.action.group.favorite">
|
<unit id="bAPfHqL" name="part_list.action.action.group.favorite">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.group.favorite</source>
|
<source>part_list.action.action.group.favorite</source>
|
||||||
<target>Favorite status</target>
|
<target>Favorite status</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="P5wWUv3" name="part_list.action.action.favorite">
|
<unit id="P5wWUv3" name="part_list.action.action.favorite">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.favorite</source>
|
<source>part_list.action.action.favorite</source>
|
||||||
<target>Favorite</target>
|
<target>Favorite</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="sfOQX5T" name="part_list.action.action.unfavorite">
|
<unit id="sfOQX5T" name="part_list.action.action.unfavorite">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.unfavorite</source>
|
<source>part_list.action.action.unfavorite</source>
|
||||||
<target>Unfavorite</target>
|
<target>Unfavorite</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="xJa8HMi" name="part_list.action.action.group.change_field">
|
<unit id="xJa8HMi" name="part_list.action.action.group.change_field">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.group.change_field</source>
|
<source>part_list.action.action.group.change_field</source>
|
||||||
<target>Change field</target>
|
<target>Change field</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="vzWZTcS" name="part_list.action.action.change_category">
|
<unit id="vzWZTcS" name="part_list.action.action.change_category">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.change_category</source>
|
<source>part_list.action.action.change_category</source>
|
||||||
<target>Change category</target>
|
<target>Change category</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="o0usAp." name="part_list.action.action.change_footprint">
|
<unit id="o0usAp." name="part_list.action.action.change_footprint">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.change_footprint</source>
|
<source>part_list.action.action.change_footprint</source>
|
||||||
<target>Change footprint</target>
|
<target>Change footprint</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="5KmoqAw" name="part_list.action.action.change_manufacturer">
|
<unit id="5KmoqAw" name="part_list.action.action.change_manufacturer">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.change_manufacturer</source>
|
<source>part_list.action.action.change_manufacturer</source>
|
||||||
<target>Change manufacturer</target>
|
<target>Change manufacturer</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="3i7xim8" name="part_list.action.action.change_unit">
|
<unit id="3i7xim8" name="part_list.action.action.change_unit">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.change_unit</source>
|
<source>part_list.action.action.change_unit</source>
|
||||||
<target>Change part unit</target>
|
<target>Change part unit</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="CjaC2GZ" name="part_list.action.action.delete">
|
<unit id="CjaC2GZ" name="part_list.action.action.delete">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.action.delete</source>
|
<source>part_list.action.action.delete</source>
|
||||||
<target>Delete</target>
|
<target>Delete</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="TdvpOc5" name="part_list.action.submit">
|
<unit id="TdvpOc5" name="part_list.action.submit">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.submit</source>
|
<source>part_list.action.submit</source>
|
||||||
<target>Submit</target>
|
<target>Submit</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
<unit id="qKDo_nI" name="part_list.action.part_count">
|
<unit id="qKDo_nI" name="part_list.action.part_count">
|
||||||
<segment state="translated">
|
<segment>
|
||||||
<source>part_list.action.part_count</source>
|
<source>part_list.action.part_count</source>
|
||||||
<target>%count% parts selected!</target>
|
<target>%count% parts selected!</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
|
<unit id="ssOogP5" name="company.edit.quick.website">
|
||||||
|
<segment>
|
||||||
|
<source>company.edit.quick.website</source>
|
||||||
|
<target>Open website</target>
|
||||||
|
</segment>
|
||||||
|
</unit>
|
||||||
|
<unit id="5hU5mZK" name="company.edit.quick.email">
|
||||||
|
<segment>
|
||||||
|
<source>company.edit.quick.email</source>
|
||||||
|
<target>Send email</target>
|
||||||
|
</segment>
|
||||||
|
</unit>
|
||||||
|
<unit id="cVAsYfX" name="company.edit.quick.phone">
|
||||||
|
<segment>
|
||||||
|
<source>company.edit.quick.phone</source>
|
||||||
|
<target>Call phone</target>
|
||||||
|
</segment>
|
||||||
|
</unit>
|
||||||
|
<unit id="6YTFx7Y" name="company.edit.quick.fax">
|
||||||
|
<segment>
|
||||||
|
<source>company.edit.quick.fax</source>
|
||||||
|
<target>Send fax</target>
|
||||||
|
</segment>
|
||||||
|
</unit>
|
||||||
|
<unit id="PKJDzwq" name="company.fax_number.placeholder">
|
||||||
|
<segment>
|
||||||
|
<source>company.fax_number.placeholder</source>
|
||||||
|
<target>e.g. +49 1234 567890</target>
|
||||||
|
</segment>
|
||||||
|
</unit>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue