smarty3 variables with a dash need other notation
This commit is contained in:
parent
9c3ea9d9f5
commit
184e9b56ce
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue