From 6497e78956825dc845eb8a998369154c4d823a95 Mon Sep 17 00:00:00 2001 From: marijus Date: Sat, 25 Oct 2014 15:23:20 +0200 Subject: some work on photos like/dislike --- view/tpl/photo_view.tpl | 85 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 75 insertions(+), 10 deletions(-) (limited to 'view/tpl/photo_view.tpl') diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index ddbce5b0b..f6b709247 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -81,24 +81,89 @@
+ {{if $tags}} +
+ {{$tag_hdr}} + {{foreach $tags as $t}} + {{$t.0}}{{if $edit}}  {{/if}} + {{/foreach}} +
+ {{/if}} +
- {{if $tags}} + {{if $like_count || $dislike_count}}
-
- {{$tag_hdr}} - {{foreach $tags as $t}} - {{$t.0}}{{if $edit}}  {{/if}} - {{/foreach}} +
+ {{if $like_count}} +
+ + {{if $like_list_part}} + + {{else}} + + {{/if}} +
+ {{/if}} + {{if $dislike_count}} +
+ + {{if $dislike_list_part}} + + {{else}} + + {{/if}} +
+ {{/if}} +
+ {{if $like_list_part}} + + {{/if}} + {{if $dislike_list_part}} + + {{/if}}
{{/if}} + {{if $likebuttons}}
- - - {{$like}} - {{$dislike}} + +
{{/if}} -- cgit v1.2.3