From 2214cd74e55648367cd40baba88d1e2518215945 Mon Sep 17 00:00:00 2001 From: "Zvi ben Yaakov (a.k.a rdc)" Date: Sun, 1 Jul 2012 14:46:03 +0300 Subject: Added more profile data and CSS styling to the /directory page --- view/theme/diabook/directory_item.tpl | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'view/theme/diabook/directory_item.tpl') diff --git a/view/theme/diabook/directory_item.tpl b/view/theme/diabook/directory_item.tpl index bc2af16c2..70d197955 100755 --- a/view/theme/diabook/directory_item.tpl +++ b/view/theme/diabook/directory_item.tpl @@ -3,9 +3,40 @@
-
$name
+
+
$name
+
$page-type
+ {{ if $pdesc }}
$profile.pdesc
{{ endif }} +
+
+ {{ 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 $marital }}
$marital
$profile.marital
{{ endif }} + + {{ if $homepage }}
$homepage
$profile.homepage
{{ endif }} +
+
+
+ {{ if $about }}
$about
$profile.about
{{ endif }} +
+
-- cgit v1.2.3