smarty3 variables with a dash need other notation

pull/370/head
Tobias Diekershoff 2016-09-09 17:54:48 +02:00
parent 9c3ea9d9f5
commit 184e9b56ce
1 changed files with 2 additions and 2 deletions

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}}