From 41485612a9a26b2654677d18813624cf1db97b83 Mon Sep 17 00:00:00 2001 From: sanj Date: Tue, 26 Oct 2010 03:47:18 +0200 Subject: [PATCH] timeline floats left --- rizk/static/css/rizk.css | 3 +++ rizk/templates/rizk.html | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/rizk/static/css/rizk.css b/rizk/static/css/rizk.css index 6f6991b..d677405 100644 --- a/rizk/static/css/rizk.css +++ b/rizk/static/css/rizk.css @@ -79,6 +79,9 @@ a img { .event { cursor: pointer; + float: left; + font-size: 12px; + direction: rtl; } .eventSelected { diff --git a/rizk/templates/rizk.html b/rizk/templates/rizk.html index aa95a1d..69d2fe2 100644 --- a/rizk/templates/rizk.html +++ b/rizk/templates/rizk.html @@ -77,8 +77,10 @@
{% for e in events %}
-
{{ e.name }}

-
{{ e.start_time }} - {{ e.end_time }}
+
{{ e.name }}
+
{{ e.start_time }} + {% ifnotequal e.start_time e.end_time %} - {{ e.end_time }} {% endifnotequal %} +
{{ e.description }}