Fixed page title.
[timetracker.git] / WEB-INF / templates / header.tpl
index 97ee53d..ac6e99f 100644 (file)
 {if $title}
       <table cellspacing="0" cellpadding="5" width="{$tab_width+20}" border="0">
         <tr><td class="sectionHeader"><div class="pageTitle">{$title}{if $timestring}: {$timestring}{/if}</div></td></tr>
+  {if $user->name}
         <tr><td>{$user->name|escape} - {$user->role_name|escape}{if $user->behalf_id > 0} <b>{$i18n.label.on_behalf} {$user->behalf_name|escape}</b>{/if}{if $user->team}, {$user->team|escape}{/if}</td></tr>
+  {else}
+        <tr><td>&nbsp;</td></tr>
+  {/if}
       </table>
 {/if}
       <!-- end of page title and user details -->