From 1d923d2b0d6b6b83c57d3ca257addcd1080f7f44 Mon Sep 17 00:00:00 2001 From: marijus Date: Mon, 3 Nov 2014 12:54:17 +0100 Subject: [PATCH] one to much and css fixes --- view/css/mod_photos.css | 5 ++ view/tpl/photo_view.tpl | 157 +++++++++++++++++++--------------------- 2 files changed, 81 insertions(+), 81 deletions(-) diff --git a/view/css/mod_photos.css b/view/css/mod_photos.css index cb3ab51c6..34bac51e9 100644 --- a/view/css/mod_photos.css +++ b/view/css/mod_photos.css @@ -8,6 +8,11 @@ padding: 7px 10px; } +.photo-like-rotator { + margin-top: 23px; + margin-right: 5px; +} + #photo-photo { display: table; margin: 0 auto; diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index e7456427b..009158c37 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -92,97 +92,92 @@
{{if $like_count || $dislike_count}}
-
- {{if $like_count}} -
- - {{if $like_list_part}} - - {{else}} - - {{/if}} -
- {{/if}} - {{if $dislike_count}} -
- - {{if $dislike_list_part}} - - {{else}} - - {{/if}} -
+
+ {{if $like_count}} +
+ + {{if $like_list_part}} + + {{else}} + {{/if}}
- {{if $like_list_part}} - {{/if}} - {{if $dislike_list_part}} - + {{if $dislike_count}} +
+ + {{if $dislike_list_part}} + + {{else}} + + {{/if}} +
{{/if}}
+ {{if $like_list_part}} + + {{/if}} + {{if $dislike_list_part}} + + {{/if}}
- {{/if}} - - {{if $likebuttons}} -
- - -
- - {{/if}} - -
+ {{/if}} + {{if $likebuttons}} +
+ + +
+
+ {{/if}} +
- - {{$comments}} - - {{if $commentbox}} -
- {{$commentbox}} -
- {{/if}} - - -
- +{{$comments}} + +{{if $commentbox}} +
+ {{$commentbox}} +
+{{/if}} + +
+ {{$paginate}}