From 1c9299ed4224d37716079be173d75319d2501b71 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 15 Jan 2015 14:05:18 -0800 Subject: more backend work on poco rating --- view/tpl/abook_edit.tpl | 8 ++++++++ view/tpl/poco_entry_xml.tpl | 1 + view/tpl/rating_slider.tpl | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 view/tpl/rating_slider.tpl (limited to 'view/tpl') diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index 03b7e2440..c38cc8ffb 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -43,6 +43,14 @@ {{$slide}} {{/if}} + +{{if $rating}} +

{{$lbl_rating}}

+ +{{$rating}} + +{{/if}} + {{/if}} diff --git a/view/tpl/poco_entry_xml.tpl b/view/tpl/poco_entry_xml.tpl index 869894852..30b6268dc 100755 --- a/view/tpl/poco_entry_xml.tpl +++ b/view/tpl/poco_entry_xml.tpl @@ -2,6 +2,7 @@ {{if $entry.id}}{{$entry.id}}{{/if}} {{if $entry.displayName}}{{$entry.displayName}}{{/if}} {{if $entry.preferredUsername}}{{$entry.preferredUsername}}{{/if}} +{{if $entry.rating}}{{$entry.rating}}{{/if}} {{if $entry.urls}}{{foreach $entry.urls as $url}}{{$url.value}}{{$url.type}}{{/foreach}}{{/if}} {{if $entry.photos}}{{foreach $entry.photos as $photo}}{{$photo.value}}{{$photo.type}}{{/foreach}}{{/if}} diff --git a/view/tpl/rating_slider.tpl b/view/tpl/rating_slider.tpl new file mode 100644 index 000000000..6bdb57cd1 --- /dev/null +++ b/view/tpl/rating_slider.tpl @@ -0,0 +1,4 @@ +
+ -- cgit v1.2.3