From dfe31dc3b7a041050203b7c0edfd245b1efc0121 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 15 Jan 2015 19:05:42 -0800 Subject: more heavy lifting on poco rep --- view/tpl/prep.tpl | 24 ++++++++---------------- view/tpl/xchan_vcard.tpl | 2 +- 2 files changed, 9 insertions(+), 17 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/prep.tpl b/view/tpl/prep.tpl index d0c1e5ec6..49dea7d72 100644 --- a/view/tpl/prep.tpl +++ b/view/tpl/prep.tpl @@ -1,17 +1,5 @@

{{$header}}

-{{if $poi}} - -
- -
-
-{{$poi.xchan_addr}} -
{{$poi.xchan_name}}
-
-
-{{/if}} - {{if $raters}} {{foreach $raters as $r}} @@ -19,14 +7,18 @@
-{{$r.xchan_addr}} -
{{$r.xchan_name}}
+{{$r.xchan_addr}}
-Rating: {{$r.xlink_rating}} +
+
+
{{$r.xchan_name}}
+{{$rating_lbl}} {{$r.xlink_rating}} {{if $r.xlink_rating_text}} -Reason: {{$r.xlink_rating_text}} +{{$rating_text_label}} {{$r.xlink_rating_text}} {{/if}}
+
+
{{/foreach}} {{/if}} diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl index 929965727..b72250bec 100755 --- a/view/tpl/xchan_vcard.tpl +++ b/view/tpl/xchan_vcard.tpl @@ -1,6 +1,6 @@
{{$name}}
-
{{$name}}
+
{{$name}}
-- cgit v1.2.3