Changeset 138

Show
Ignore:
Timestamp:
09/03/07 21:37:45 (16 months ago)
Author:
chris
Message:

Fixed a bug in the default template's showing of finished item details

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/default.php

    r134 r138  
    173173                <li class="queuebox <?php echo (((string)$item->type == 'SUCCESS') ? 'good' : 'bad'); ?>"> 
    174174                        <div class="queuetitle"> 
    175                                 <?php echo $item->archiveName; ?> 
     175                                <?php echo (string)$item->archiveName; ?> 
    176176                        </div> 
    177177                        <ul class="queuecontrols"> 
    178178                                <li class="control"><a href="<?php echo $self; ?>?removefinished=<?php echo $i; ?>"><?php echo _('Remove'); ?></a></li> 
    179179                        </ul> 
    180                         <div class="queuestats"><?php printf(_('Finished on: %s Processing Time: %s'), date('M dS - H:i:s', (int)$item->finishedTime), $time->elapsedTime); if (trim($item->parMessage) != ''): printf(_(' Par message: %s'), $item->parMessage); endif; ?></div> 
     180                        <div class="queuestats"><?php printf(_('Finished on: %s Processing Time: %s'), date('M dS - H:i:s', (int)$item->finishedTime), (string)$item->elapsedTime); if (trim((string)$item->parMessage) != ''): printf(_(' Par message: %s'), (string)$item->parMessage); endif; ?></div> 
    181181                </li> 
    182182                <?php endforeach; ?>