diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2008-11-23 17:49:51 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2008-11-23 17:49:51 +0100 |
commit | 423b3f2852a891c8f92bad46f349826b7e8abe5f (patch) | |
tree | 3821086c7047f5dca16fc43de9eccd3fa4c44062 /pages/whats_on.ecpp | |
parent | a50450088499f585170712385e758b08ceb67abd (diff) | |
download | vdr-plugin-live-423b3f2852a891c8f92bad46f349826b7e8abe5f.tar.gz vdr-plugin-live-423b3f2852a891c8f92bad46f349826b7e8abe5f.tar.bz2 |
Visual enhancement: Make progress bar invisible if duration is 0.
Visual enhancement: fixed and changed several access path to the
img/transparent.png invisible image.
Diffstat (limited to 'pages/whats_on.ecpp')
-rw-r--r-- | pages/whats_on.ecpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp index ea5d222..dc348be 100644 --- a/pages/whats_on.ecpp +++ b/pages/whats_on.ecpp @@ -190,9 +190,7 @@ if (type == "now") { </div> <div> <div class="info"><$ (timeSpan) $></div> -% if (epgEvent->Elapsed() >= 0) { - <div class="progress"><div><& pageelems.progressbar progress=(epgEvent->Elapsed()) &></div></div> -% } + <div class="progress"><div><& pageelems.progressbar progress=(epgEvent->Elapsed()) duration=(epgEvent->Duration()) &></div></div> <div class="title withmargin"><$ (epgEvent->Title()) $></div> <div class="short withmargin"><$ (epgEvent->ShortDescr()) $></div> <div class="description withmargin"><$ truncDescription $></div> @@ -215,15 +213,13 @@ if (type == "now") { <td class="topaligned <? lastCurrentChanel ? "bottomrow"?>"> <div class="withmargin"> <div class="nomargin"><$ (timeSpan) $></div> -% if (epgEvent->Elapsed() >= 0) { - <div class="progress"><div><& pageelems.progressbar progress=(epgEvent->Elapsed()) &></div></div> -% } + <div class="progress"><div><& pageelems.progressbar progress=(epgEvent->Elapsed()) duration=(epgEvent->Duration()) &></div></div> </div> </td> <td class="topaligned <? lastCurrentChanel ? "bottomrow"?>"> <div class="more withmargin"> % if (eventId != 0) { - <a + <a % if (!longDescription.empty()) { <& tooltip.hint text=(longDescription) &><& tooltip.display domId=(epgEvent->Id()) &> % } |