mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Improve display of attendee addresses
This commit is contained in:
@@ -402,9 +402,9 @@
|
|||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
{% if line.street or line.zipcode or line.city or line.country %}
|
{% if line.street or line.zipcode or line.city or line.country %}
|
||||||
{{ line.street|linebreaksbr }}<br>
|
{{ line.street|default_if_none:""|linebreaksbr }}<br>
|
||||||
{{ line.zipcode }} {{ line.city }}<br>
|
{{ line.zipcode|default_if_none:"" }} {{ line.city|default_if_none:"" }}<br>
|
||||||
{{ line.country.name }}
|
{{ line.country.name|default_if_none:"" }}
|
||||||
{% if line.state %}<br>{{ line.state }}{% endif %}
|
{% if line.state %}<br>{{ line.state }}{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<em>{% trans "not answered" %}</em>
|
<em>{% trans "not answered" %}</em>
|
||||||
|
|||||||
@@ -63,6 +63,9 @@
|
|||||||
</span>
|
</span>
|
||||||
</dd>
|
</dd>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if line.item.admission and event.settings.attendee_addresses_asked %}
|
||||||
|
<br>
|
||||||
|
{% endif %}
|
||||||
{% if line.item.admission and event.settings.attendee_company_asked %}
|
{% if line.item.admission and event.settings.attendee_company_asked %}
|
||||||
<dt class="sr-only">
|
<dt class="sr-only">
|
||||||
{% trans "Attendee company" %}
|
{% trans "Attendee company" %}
|
||||||
@@ -80,9 +83,9 @@
|
|||||||
<dd class="toplevel">
|
<dd class="toplevel">
|
||||||
<span data-toggle="tooltip" title="{% trans "Attendee address" %}">
|
<span data-toggle="tooltip" title="{% trans "Attendee address" %}">
|
||||||
{% if line.street or line.zipcode or line.city or line.country %}
|
{% if line.street or line.zipcode or line.city or line.country %}
|
||||||
{{ line.street|linebreaksbr }}<br>
|
{{ line.street|default_if_none:""|linebreaksbr }}<br>
|
||||||
{{ line.zipcode }} {{ line.city }}<br>
|
{{ line.zipcode|default_if_none:"" }} {{ line.city|default_if_none:"" }}<br>
|
||||||
{{ line.country.name }}
|
{{ line.country.name|default_if_none:"" }}
|
||||||
{% if line.state %}<br>{{ line.state }}{% endif %}
|
{% if line.state %}<br>{{ line.state }}{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<em>{% trans "not answered" %}</em>
|
<em>{% trans "not answered" %}</em>
|
||||||
|
|||||||
Reference in New Issue
Block a user