From 5631f3d13a7aef8d1813e70ae6a5a5203fe86571 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 21 Nov 2006 17:07:54 +0000 Subject: [PATCH] Show more of the song titles by not truncating on word boundaries. --- .../htmlUI/var/templates/scratchpad/main.tpl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/campcaster/src/modules/htmlUI/var/templates/scratchpad/main.tpl b/campcaster/src/modules/htmlUI/var/templates/scratchpad/main.tpl index 9e7baada1..1d76f4747 100644 --- a/campcaster/src/modules/htmlUI/var/templates/scratchpad/main.tpl +++ b/campcaster/src/modules/htmlUI/var/templates/scratchpad/main.tpl @@ -1,5 +1,5 @@ {assign var="_PL_activeId" value=$PL->getActiveId()} -{assign var="SCRATCHPAD" value=$SCRATCHPAD->get()} +{assign var="SCRATCHPAD" value=$SCRATCHPAD->get()}
@@ -12,9 +12,9 @@ - ##Title## - ##Duration## - ##Type## + ##Title## + ##Duration## + ##Type## @@ -31,12 +31,13 @@ {else}
{/if} - {$i.title|truncate:14} + {$i.title|truncate:14:"...":true}
{else} - {$i.title|truncate:14} - {/if} {* on some reason object call doesn�t like usage of array *} - {assign var="_duration" value=$i.duration} + {$i.title|truncate:14:"...":true} + {/if} {* for some reason object call doesn't like usage of array *} + + {assign var="_duration" value=$i.duration} {niceTime in=$_duration} {if $PL->isAvailable($i.id) == false}