Skip to content
Snippets Groups Projects
Commit c9610a44 authored by Olivia206's avatar Olivia206
Browse files

hotfix: wrong indent for contact details partial

parent d92c2a98
No related branches found
No related tags found
No related merge requests found
......@@ -21,31 +21,31 @@
"in_itemscope" true
) }}
</ul>
{{ end }}
{{ if or .phone_numbers .phone_professional .postal_address }}
<ul>
{{ with .postal_address }}
<li class="address">
<span class="meta">{{ i18n "commons.contact.address" }}</span>
{{ partial "commons/address.html" . }}
{{ if or .phone_numbers .phone_professional .postal_address }}
<ul>
{{ with .postal_address }}
<li class="address">
<span class="meta">{{ i18n "commons.contact.address" }}</span>
{{ partial "commons/address.html" . }}
</li>
{{ end }}
{{ with .phone_numbers }}
{{ with or .phone_mobile .phone }}
<li class="phone">
<span>{{ i18n "commons.contact.phone.label" }}</span>
<a href="{{ chomp .value | safeURL }}" itemprop="telephone" title='{{ safeHTML (i18n "commons.contact.phone.a11y_label" (dict "phone_number" .label )) }}'>{{ .label }}</a>
</li>
{{ end }}
{{ with .phone_numbers }}
{{ with or .phone_mobile .phone }}
<li class="phone">
<span>{{ i18n "commons.contact.phone.label" }}</span>
<a href="{{ chomp .value | safeURL }}" itemprop="telephone" title='{{ safeHTML (i18n "commons.contact.phone.a11y_label" (dict "phone_number" .label )) }}'>{{ .label }}</a>
</li>
{{ end }}
{{ with .phone_professional }}
<li class="phone">
<span>{{ i18n "commons.contact.phone_professional.label" }}</span>
<a href="{{ chomp .value | safeURL }}" itemprop="telephone" title='{{ safeHTML (i18n "commons.contact.phone_professional.a11y_label" (dict "phone_number" .label )) }}'>{{ .label }}</a>
</li>
{{ end }}
{{ with .phone_professional }}
<li class="phone">
<span>{{ i18n "commons.contact.phone_professional.label" }}</span>
<a href="{{ chomp .value | safeURL }}" itemprop="telephone" title='{{ safeHTML (i18n "commons.contact.phone_professional.a11y_label" (dict "phone_number" .label )) }}'>{{ .label }}</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ end }}
</ul>
{{ end }}
</div>
{{ end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment