From df57c90d2d93fef1d021bee4b91a50b1b34ee938 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 26 Feb 2016 14:25:18 +0100 Subject: several photo item template fixes --- view/tpl/photo_drop.tpl | 3 +-- view/tpl/photo_item.tpl | 39 +++++++++++++++++++++++---------------- 2 files changed, 24 insertions(+), 18 deletions(-) (limited to 'view') diff --git a/view/tpl/photo_drop.tpl b/view/tpl/photo_drop.tpl index 31b654374..24aff0209 100755 --- a/view/tpl/photo_drop.tpl +++ b/view/tpl/photo_drop.tpl @@ -1,4 +1,3 @@
- +
-
diff --git a/view/tpl/photo_item.tpl b/view/tpl/photo_item.tpl index 2ea7aa9f3..ec643c4a9 100755 --- a/view/tpl/photo_item.tpl +++ b/view/tpl/photo_item.tpl @@ -1,27 +1,34 @@ -
-
-
-
- - {{$name}} +
+
+
+
+
+ + {{$name}} +
-
-
-
- {{$name}} +
+
+ {{$name}} +
+
{{$ago}}
-
{{$ago}}
{{$title}}
{{$body}}
-
- {{$drop}} -
+
+ {{if $drop}} +
+
+ {{$drop}} +
+
+
+ {{/if}} +
{{$comment}} - -
-- cgit v1.2.3