mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 05:03:47 +00:00
only show address information when set
This commit is contained in:
parent
3506b62ff6
commit
9c3ea9d9f5
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@
|
||||||
<dd class="adr">
|
<dd class="adr">
|
||||||
{{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
|
{{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
|
||||||
<span class="city-state-zip">
|
<span class="city-state-zip">
|
||||||
<span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
|
{{if $profile.locality}}<span class="locality">{{$profile.locality}}</span>, {{/if}}
|
||||||
<span class="region">{{$profile.region}}</span>
|
{{if $profile.region}}<span class="region">{{$profile.region}}</span>{{/if}}
|
||||||
<span class="postal-code">{{$profile.postal-code}}</span>
|
{{if $profile.postal-code}}<span class="postal-code">{{$profile.postal-code}}</span>{{/if}}
|
||||||
</span>
|
</span>
|
||||||
{{if $profile.country-name}}<span class="country-name">{{$profile.country-name}}</span>{{/if}}
|
{{if $profile.country-name}}<span class="country-name">{{$profile.country-name}}</span>{{/if}}
|
||||||
</dd>
|
</dd>
|
||||||
|
|
Loading…
Reference in a new issue