From d23162866f8b383abd2798a4ef1ee1cd3cb2e461 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 24 Oct 2012 15:16:21 +0530 Subject: [PATCH] noteworthy images css --- urbstudio/templates/noteworthy.html | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/urbstudio/templates/noteworthy.html b/urbstudio/templates/noteworthy.html index b30e74d..1ddbed8 100755 --- a/urbstudio/templates/noteworthy.html +++ b/urbstudio/templates/noteworthy.html @@ -19,9 +19,13 @@ padding-bottom:10px; border-bottom:none; } + +.imgLinkBlock { +float:left; +} + .imgLinks { padding-right:20px; -float:left; /*width:200px;*/ } @@ -52,10 +56,17 @@ float:right; {% for n in noteworthy %}
+
{% if n.image %} {% thumbnail n.image "200" as im %} {% endthumbnail %} + + + {% else %} +
+ + {% endif %}
@@ -71,14 +82,9 @@ float:right; {% endthumbnail %} {% endfor %}
- - - {% else %} -
- - {% endif %} + - +

{% if n.url %} {% endif %}{{ n.title }} {% if n.url %} {% endif %}