smarty3 variables with a dash need other notation

This commit is contained in:
Tobias Diekershoff 2016-09-09 17:54:48 +02:00
parent 9c3ea9d9f5
commit 184e9b56ce

View File

@ -20,9 +20,9 @@
<span class="city-state-zip">
{{if $profile.locality}}<span class="locality">{{$profile.locality}}</span>, {{/if}}
{{if $profile.region}}<span class="region">{{$profile.region}}</span>{{/if}}
{{if $profile.postal-code}}<span class="postal-code">{{$profile.postal-code}}</span>{{/if}}
{{if $profile['postal-code']}}<span class="postal-code">{{$profile['postal-code']}}</span>{{/if}}
</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>
</dl>
{{/if}}