From 968e7bb3b15cd4205e857c4245c5d328d17d6a66 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 26 Sep 2011 11:48:02 +0200 Subject: Fixes for testbubble --- view/theme/testbubble/nav.tpl | 95 +++++++++++++++++---------------- view/theme/testbubble/profile_vcard.tpl | 45 ++++++++++++++++ view/theme/testbubble/wall_item.tpl | 9 +++- 3 files changed, 100 insertions(+), 49 deletions(-) create mode 100644 view/theme/testbubble/profile_vcard.tpl (limited to 'view') diff --git a/view/theme/testbubble/nav.tpl b/view/theme/testbubble/nav.tpl index f20683366..359d01bc1 100644 --- a/view/theme/testbubble/nav.tpl +++ b/view/theme/testbubble/nav.tpl @@ -1,54 +1,55 @@ -$langselector - - - -
- {{ if $nav.network }}{{ endif }} - {{ if $nav.home }}{{ endif }} - {{ if $nav.notifications }}{{ endif }} - {{ if $nav.messages }}{{ endif }} -
- -
- $sitelocation - - +
-{{ if $nav.apps }}$nav.apps.1{{ endif }} + {{ if $nav.apps }}$nav.apps.1{{ endif }} + diff --git a/view/theme/testbubble/profile_vcard.tpl b/view/theme/testbubble/profile_vcard.tpl new file mode 100644 index 000000000..0ee6919bc --- /dev/null +++ b/view/theme/testbubble/profile_vcard.tpl @@ -0,0 +1,45 @@ +
+
$profile.name
+ + + {{ if $pdesc }}
$profile.pdesc
{{ endif }} +
$profile.name
+ + + + {{ 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 }} + + {{ if $gender }}
$gender
$profile.gender
{{ endif }} + + {{ if $profile.pubkey }}{{ endif }} + + {{ if $marital }}
$marital
$profile.marital
{{ endif }} + + {{ if $homepage }}
$homepage
$profile.homepage
{{ endif }} + + {{ inc diaspora_vcard.tpl }}{{ endinc }} + + +
+ +$contact_block + + diff --git a/view/theme/testbubble/wall_item.tpl b/view/theme/testbubble/wall_item.tpl index b8af3685f..47f062aff 100644 --- a/view/theme/testbubble/wall_item.tpl +++ b/view/theme/testbubble/wall_item.tpl @@ -27,9 +27,14 @@
$vote - $plink + {{ if $plink }} + + {{ endif }} $edpost - $star + + {{ if $star }} + + {{ endif }} $drop
-- cgit v1.2.3