From 836fc38969aa5ac7c81c629a002fea20061ed0ae Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Fri, 19 Jan 2007 22:36:48 +0000 Subject: - Reintroduced a shortened part of the description in the event box. --- css/styles.css | 14 +++++++++----- pages/whats_on.ecpp | 5 +++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/css/styles.css b/css/styles.css index e303e35..3a7968b 100644 --- a/css/styles.css +++ b/css/styles.css @@ -202,7 +202,7 @@ table td.buttonpanel { */ div.event { width: 255px; - height: 155px; + height: 255px; padding: 0; margin-right: 5px; float: left; @@ -239,7 +239,7 @@ div.station div div div { div.content { width: 253px; - height: 120px; + height: 220px; padding: 0; margin: 0; @@ -252,7 +252,7 @@ div.content { div.content div.tools { float: left; width: 26px; - height: 120px; + height: 220px; margin: 0; padding: 0; @@ -271,8 +271,6 @@ div.content div { div.description { margin: 5px; - font-weight: bold; - cursor: pointer; } div.info { @@ -290,6 +288,12 @@ div.short { margin: 5px; } +div.more { + margin: 5px; + font-weight: bold; + cursor: pointer; +} + /* ############# # Timers ############# diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp index d0e0595..49ec9f3 100644 --- a/pages/whats_on.ecpp +++ b/pages/whats_on.ecpp @@ -62,7 +62,7 @@ if (type == "now") { tEventID event = Event->EventID(); bool truncated = false; - string description(StringWordTruncate(epgEvent->LongDescr(), 250, truncated)); + string description(); }>
@@ -79,7 +79,8 @@ if (type == "now") {
<$ (epgEvent->StartTime(tr("%I:%M %p"))) $> - <$ (epgEvent->EndTime(tr("%I:%M %p"))) $>
<$ (epgEvent->Title()) $>
<$ (epgEvent->ShortDescr()) $>
-
") + string(tr("Click to view details."))) &><& tooltip.display domId=(epgEvent->Id()) &>><$ (string(tr("more")) + string(" ...")) $>
+
<$ (StringWordTruncate(epgEvent->LongDescr(), 150, truncated)) $>
+
LongDescr(), 300, truncated)) + string("
") + string(tr("Click to view details."))) &><& tooltip.display domId=(epgEvent->Id()) &>><$ (string(tr("more")) + string(" ...")) $>
-- cgit v1.2.3