{if $user->custom_logo}
{else}
|
{/if}
|
{if $user->custom_logo}
|
{else}
|
{/if}
|
|
{if $authenticated}
{if $user->isAdmin()}
{else}
{if !$user->isClient()}
{$i18n.menu.time}
{/if}
{if $user->isPluginEnabled('ex') && !$user->isClient()}
· {$i18n.menu.expenses}
{/if}
{if !$user->isClient()}· {/if}{$i18n.menu.reports}
{if $user->isPluginEnabled('iv') && ($user->can('manage_invoices') || $user->can('view_own_invoices'))}
· {$i18n.title.invoices}
{/if}
{if ($user->isPluginEnabled('ch') && !$user->isClient()) && ($smarty.const.MODE_PROJECTS == $user->tracking_mode
|| $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode || $user->isPluginEnabled('cl'))}
· {$i18n.menu.charts}
{/if}
{if !$user->isClient() && ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
· {$i18n.menu.projects}
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode) && $user->can('manage_tasks')}
· {$i18n.menu.tasks}
{/if}
{if !$user->isClient()}
· {$i18n.menu.users}
{/if}
{if $user->isPluginEnabled('cl') && $user->can('manage_clients')}
· {$i18n.menu.clients}
{/if}
{if $user->isManager()}
· {$i18n.menu.export}
{/if}
|
{/if}
{else}
{/if}
{if $title}
{$user->name|escape} - {$user->role_name|escape} {if $user->behalf_id > 0}{$i18n.label.on_behalf} {$user->behalf_name|escape}{/if}{if $user->team}, {$user->team|escape}{/if} |
{/if}
{if $err->yes()}
{foreach $err->getErrors() as $error}
{$error.message} {* No need to escape as they are not coming from user and may contain a link. *}
{/foreach}
|
{/if}
{if $msg->yes()}
{foreach $msg->getErrors() as $message}
{$message.message} {* No need to escape. *}
{/foreach}
|
{/if}
|