From 9c3ea9d9f575c2e6642953d88f7d367f8b42b7f8 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 9 Sep 2016 12:01:59 +0200 Subject: [PATCH] only show address information when set --- forumdirectory/templates/forumdirectory_item.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forumdirectory/templates/forumdirectory_item.tpl b/forumdirectory/templates/forumdirectory_item.tpl index ee38c28a..5b6a946a 100644 --- a/forumdirectory/templates/forumdirectory_item.tpl +++ b/forumdirectory/templates/forumdirectory_item.tpl @@ -18,9 +18,9 @@
{{if $profile.address}}
{{$profile.address}}
{{/if}} - {{$profile.locality}}{{if $profile.locality}}, {{/if}} - {{$profile.region}} - {{$profile.postal-code}} + {{if $profile.locality}}{{$profile.locality}}, {{/if}} + {{if $profile.region}}{{$profile.region}}{{/if}} + {{if $profile.postal-code}}{{$profile.postal-code}}{{/if}} {{if $profile.country-name}}{{$profile.country-name}}{{/if}}