From 8b615133d528eb074a23746afef6201f474a4e3f Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 31 Aug 2011 17:31:44 +0200 Subject: remove html from profile vcard code --- view/profile_vcard.tpl | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) (limited to 'view/profile_vcard.tpl') diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl index 34f265ee6..01238ed5a 100644 --- a/view/profile_vcard.tpl +++ b/view/profile_vcard.tpl @@ -1,29 +1,43 @@
- $fullname - $pdesc - $tabs - - $photo +
$profile.name
+ {{ if $pdesc }}
$profile.pdesc
{{ endif }} +
$profile.name
- $location + {{ if $location }} +
$location +
+ {{ if $profile.address }}
$profile.address
{{ endif }} + + $profile.locality{{ if $profile.locality }}, {{ endif }} + $profile.region + $profile.postal-code + + {{ if $profile.country-name }}$profile.country-name{{ endif }} +
+ + {{ endif }} - $gender + {{ if $gender }}
$gender $profile.gender
{{ endif }} + + {{ if $profile.pubkey }}{{ endif }} - $pubkey + {{ if $marital }}
$marital$profile.marital
{{ endif }} -$diaspora + {{ if $homepage }}{{ endif }} -
+ {{ inc diaspora_vcard.tpl }}{{ endinc }} -$marital +
-$homepage +$contact_block -- cgit v1.2.3 From 058e329dfbc2678fa7e3cb2ce130fb9ffd69b84d Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 1 Sep 2011 12:37:30 +0200 Subject: Fix profile vcard and style --- view/profile_vcard.tpl | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'view/profile_vcard.tpl') diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl index 01238ed5a..88111b0f1 100644 --- a/view/profile_vcard.tpl +++ b/view/profile_vcard.tpl @@ -4,17 +4,11 @@ {{ if $pdesc }}
$profile.pdesc
{{ endif }}
$profile.name
- + {{ if $location }} -
$location -
+
$location
+
{{ if $profile.address }}
$profile.address
{{ endif }} $profile.locality{{ if $profile.locality }}, {{ endif }} @@ -22,20 +16,27 @@ $profile.postal-code {{ if $profile.country-name }}$profile.country-name{{ endif }} -
- + + {{ endif }} - {{ if $gender }}
$gender $profile.gender
{{ endif }} + {{ if $gender }}
$gender
$profile.gender
{{ endif }} {{ if $profile.pubkey }}{{ endif }} - {{ if $marital }}
$marital$profile.marital
{{ endif }} + {{ if $marital }}
$marital
$profile.marital
{{ endif }} - {{ if $homepage }}{{ endif }} + {{ if $homepage }}
$homepage
$profile.homepage
{{ endif }} {{ inc diaspora_vcard.tpl }}{{ endinc }} - + +
$contact_block -- cgit v1.2.3 From 2c1aca7ffe628ab2a455fc7abf730b6d01d288ea Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 5 Sep 2011 11:16:08 +0200 Subject: fix aside contact block, add edit profiles icon --- view/profile_vcard.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'view/profile_vcard.tpl') diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl index 88111b0f1..08e2e2e3a 100644 --- a/view/profile_vcard.tpl +++ b/view/profile_vcard.tpl @@ -1,6 +1,10 @@
-
$profile.name
+
+
$profile.name
+ {{ if $profile.edit }}$profile.edit.1{{ endif }} +
+ {{ if $pdesc }}
$profile.pdesc
{{ endif }}
$profile.name
-- cgit v1.2.3 From 14125ce67bb27b024d082738c8065e1bc7f2d377 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 5 Sep 2011 11:32:40 +0200 Subject: Add tipTip js tooltips --- view/profile_vcard.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/profile_vcard.tpl') diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl index 08e2e2e3a..ecdb5280f 100644 --- a/view/profile_vcard.tpl +++ b/view/profile_vcard.tpl @@ -2,7 +2,7 @@
$profile.name
- {{ if $profile.edit }}$profile.edit.1{{ endif }} + {{ if $profile.edit }}$profile.edit.1{{ endif }}
{{ if $pdesc }}
$profile.pdesc
{{ endif }} -- cgit v1.2.3 From 08e54234e30c10e3130b7d71caba9fd43e3593e3 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 5 Sep 2011 16:55:40 +0200 Subject: profiles popup menu in sidebar --- view/profile_vcard.tpl | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'view/profile_vcard.tpl') diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl index ecdb5280f..cab732cc1 100644 --- a/view/profile_vcard.tpl +++ b/view/profile_vcard.tpl @@ -2,8 +2,21 @@
$profile.name
- {{ if $profile.edit }}$profile.edit.1{{ endif }} + {{ if $profile.edit }} +
+ $profile.edit.1 + +
+ {{ endif }}
+ {{ if $pdesc }}
$profile.pdesc
{{ endif }}
$profile.name
-- cgit v1.2.3 From 7e806429cca6ac39a9ef1bd1fd400d03e626389b Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 15 Sep 2011 10:38:37 +0200 Subject: quattro --- view/profile_vcard.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'view/profile_vcard.tpl') diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl index cab732cc1..d65b65784 100644 --- a/view/profile_vcard.tpl +++ b/view/profile_vcard.tpl @@ -7,7 +7,9 @@ $profile.edit.1