From a72d60f481e221354ed61152c6ab07899660d9e9 Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 28 Dec 2014 15:48:24 +0100 Subject: [PATCH] Added h-card and functionality for IndieAuth/Web-sign-in --- view/templates/profile_vcard.tpl | 24 ++++++++++----------- view/theme/vier/templates/profile_vcard.tpl | 16 +++++++------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/view/templates/profile_vcard.tpl b/view/templates/profile_vcard.tpl index 4ec3cdf3c..e72d25371 100644 --- a/view/templates/profile_vcard.tpl +++ b/view/templates/profile_vcard.tpl @@ -1,39 +1,39 @@ -
+
-
{{$profile.name}}
+
{{$profile.name}}
{{if $pdesc}}
{{$profile.pdesc}}
{{/if}} {{if $profile.picdate}} -
{{$profile.name}}
+
{{$profile.name}}
{{else}} -
{{$profile.name}}
+
{{$profile.name}}
{{/if}} {{if $profile.network_name}}
{{$network}}
{{$profile.network_name}}
{{/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 $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/vier/templates/profile_vcard.tpl b/view/theme/vier/templates/profile_vcard.tpl index 669acbef7..644c3d7e5 100644 --- a/view/theme/vier/templates/profile_vcard.tpl +++ b/view/theme/vier/templates/profile_vcard.tpl @@ -1,15 +1,15 @@ -
+
-
{{$profile.name}}
+
{{$profile.name}}
{{if $profile.edit}}
{{$profile.edit.1}}