From: Ben Roberts Date: Tue, 21 Jun 2016 14:23:43 +0000 (-0400) Subject: update MF2 and vcard data for issue #2629 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=864cf0f70d26b82b20ff07c975ca05d3fca7341d;p=friendica.git update MF2 and vcard data for issue #2629 --- diff --git a/view/templates/diaspora_vcard.tpl b/view/templates/diaspora_vcard.tpl index 45b9fa4ff7..c71577aee1 100644 --- a/view/templates/diaspora_vcard.tpl +++ b/view/templates/diaspora_vcard.tpl @@ -3,19 +3,19 @@
Uid
- {{$diaspora.guid}} + {{$diaspora.guid}}
Nickname
- {{$diaspora.nickname}} + {{$diaspora.nickname}}
Full_name
- {{$diaspora.fullname}} + {{$diaspora.fullname}}
@@ -27,37 +27,37 @@
First_name
- {{$diaspora.firstname}} + {{$diaspora.firstname}}
Family_name
- {{$diaspora.lastname}} + {{$diaspora.lastname}}
Url
- {{$diaspora.podloc}}/ + {{$diaspora.podloc}}/
Photo
- +
Photo_medium
- +
Photo_small
- +
diff --git a/view/templates/profile_vcard.tpl b/view/templates/profile_vcard.tpl index 0f1cf070c4..558daf26d7 100644 --- a/view/templates/profile_vcard.tpl +++ b/view/templates/profile_vcard.tpl @@ -16,7 +16,7 @@ {{if $profile.network_name}}
{{$network}}
{{$profile.network_name}}
{{/if}} {{if $location}}
{{$location}}
-
+
{{if $profile.address}}
{{$profile.address}}
{{/if}} {{$profile.locality}}{{if $profile.locality}}, {{/if}} @@ -28,7 +28,7 @@
{{/if}} - {{if $gender}}
{{$gender}}
{{$profile.gender}}
{{/if}} + {{if $gender}}
{{$gender}}
{{$profile.gender}}
{{/if}} {{if $profile.pubkey}}{{/if}} diff --git a/view/templates/vcard-widget.tpl b/view/templates/vcard-widget.tpl index ec59fa46dc..47b64b68da 100644 --- a/view/templates/vcard-widget.tpl +++ b/view/templates/vcard-widget.tpl @@ -1,12 +1,12 @@ -
-
{{$name}}
+
+
{{$name}}
{{if $addr}}
{{$addr}}
{{/if}} - {{if $pdesc}}
{{$pdesc}}
{{/if}} + {{if $pdesc}}
{{$pdesc}}
{{/if}} {{if $url}} -
{{$name}}
+
{{$name}}
{{else}} -
{{$name}}
+
{{$name}}
{{/if}} {{if $account_type}}{{/if}} {{if $network_name}}
{{$network}}
{{$network_name}}
{{/if}} diff --git a/view/templates/wall_thread.tpl b/view/templates/wall_thread.tpl index ae360adff2..335d54f416 100644 --- a/view/templates/wall_thread.tpl +++ b/view/templates/wall_thread.tpl @@ -5,7 +5,7 @@
{{/if}} - {{if $gender}}
{{$gender}}
{{$profile.gender}}
{{/if}} + {{if $gender}}
{{$gender}}
{{$profile.gender}}
{{/if}}
{{if $marital}}
{{$marital}}
{{$profile.marital}}
{{/if}} diff --git a/view/theme/diabook/templates/profile_vcard.tpl b/view/theme/diabook/templates/profile_vcard.tpl index 71e32d3e3b..7628fb8d53 100644 --- a/view/theme/diabook/templates/profile_vcard.tpl +++ b/view/theme/diabook/templates/profile_vcard.tpl @@ -1,8 +1,8 @@ -
+
-
{{$profile.name}}
+
{{$profile.name}}
{{if $profile.edit}}
{{$profile.edit.1}} @@ -23,31 +23,31 @@ -
{{$profile.name}}
+
{{$profile.name}}
{{if $pdesc}}
{{$profile.pdesc}}
{{/if}} {{if $location}}
{{$location}}

-
- {{if $profile.address}}
{{$profile.address}}
{{/if}} +
+ {{if $profile.address}}
{{$profile.address}}
{{/if}} - {{$profile.locality}}{{if $profile.locality}}, {{/if}} - {{$profile.region}} - {{$profile.postal_code}} + {{$profile.locality}}{{if $profile.locality}}, {{/if}} + {{$profile.region}} + {{$profile.postal_code}} - {{if $profile.country_name}}{{$profile.country_name}}{{/if}} + {{if $profile.country_name}}{{$profile.country_name}}{{/if}}
{{/if}} - {{if $gender}}
{{$gender}}
{{$profile.gender}}
{{/if}} + {{if $gender}}
{{$gender}}
{{$profile.gender}}
{{/if}} {{if $profile.pubkey}}{{/if}} {{if $marital}}
{{$marital}}
{{$profile.marital}}
{{/if}} - {{if $homepage}}
{{$homepage}}
{{$profile.homepage}}
{{/if}} + {{if $homepage}}
{{$homepage}}
{{$profile.homepage}}
{{/if}} {{include file="diaspora_vcard.tpl"}} diff --git a/view/theme/diabook/templates/wall_thread.tpl b/view/theme/diabook/templates/wall_thread.tpl index 1d921935fc..e7a3ccd188 100644 --- a/view/theme/diabook/templates/wall_thread.tpl +++ b/view/theme/diabook/templates/wall_thread.tpl @@ -5,7 +5,7 @@