From ca17fb01bc24f27e2229557e59977702f43619f4 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 25 Nov 2021 07:54:53 +0000 Subject: profile cleanup and fixes --- view/tpl/profile_vcard.tpl | 204 +++++++++++++++++++-------------------------- 1 file changed, 87 insertions(+), 117 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 487fa3959..8ebc9a311 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,137 +1,107 @@ -{{if !$zcard}} -
-
-
- -
- {{if $editmenu.multi}} - - -{{/if}} - -{{if $zcard}} -
- {{if $connect}} -
{{$connect}} - {{/if}} - {{if $reddress}}
{{$profile.reddress}}
{{/if}} - - {{if $pdesc}}
{{$profile.pdesc}}
{{/if}} - {{if $location}} -
+ {{if $details}} +
+ {{if $profile.pdesc}} +
{{$profile.pdesc}}
+ {{/if}} + {{if $location}} +
{{$location}}
- {{if $profile.address}}
{{$profile.address}}
{{/if}} - - {{$profile.locality}}{{if $profile.locality}}, {{/if}} - {{$profile.region}} + {{if $profile.address}} +
{{$profile.address}}
+ {{/if}} +
{{$profile.postal_code}} - - {{if $profile.country_name}}{{$profile.country_name}}{{/if}} + {{$profile.locality}} +
+ {{if $profile.region}} +
{{$profile.region}}
+ {{/if}} + {{if $profile.country_name}} +
{{$profile.country_name}}
+ {{/if}}
- {{/if}} - - {{if $gender}} -
+ {{/if}} + {{if $hometown}} +
+
{{$hometown}}
+
{{$profile.hometown}}
+
+ {{/if}} + {{if $gender}} +
{{$gender}}
{{if $profile.gender_icon}} {{/if}}{{$profile.gender}}
+ {{/if}} + {{if $marital}} +
+
 {{$marital}}
+
{{$profile.marital}}
+
+ {{/if}} + {{if $homepage}} +
+
{{$homepage}}
+
{{$profile.homepage}}
+
+ {{/if}} +
+
{{/if}} - - {{if $marital}}
 {{$marital}}
{{$profile.marital}}
{{/if}} - - {{if $homepage}}
{{$homepage}}
{{$profile.homepage}}
{{/if}} - -
-{{/if}} - -
- +{{if $details}} {{$chanmenu}} {{$contact_block}} +{{/if}} -- cgit v1.2.3