{include file="delete_operation.tpl.js"}
{include file="add_operation_div.tpl.html"}
{t}Main{/t}
{$MYMANHOURS}
{t}Weekly manhours{/t}
{t}Daily manhours{/t}
{t}My projects and projects I'm a member of{/t} {t}Status{/t}:
{if (count($projects) > 0)} {section name=pdetails loop=$projects} $smarty.const.PHPAGA_SHOWPRJTITLELENGHT))} onmouseover="return escape('{$projects[pdetails].prj_title|phpaga_popup_sanitizestr}')"{/if}> {$projects[pdetails].prj_title|wash|truncate:$smarty.const.PHPAGA_SHOWPRJTITLELENGHT:"...":true} {if strlen($projects[pdetails].prj_deadline)}{$projects[pdetails].prj_deadline|wash|date_format:$smarty.const.PHPAGA_DATEFORMAT_SHORT}{else} {/if} {/section} {else} {/if}
{t}Title{/t} {t}Status{/t} {t}Customer{/t} {t}Prio.{/t} {t}Start date{/t} {t}Deadline{/t} {t}Category{/t} {t}Hours{/t} {t}Actions{/t}
{$projects[pdetails].prjstat_title|wash} {$projects[pdetails].cpn_name|wash} {$projects[pdetails].prj_priority|wash|default:" "} {$projects[pdetails].prj_startdate|wash|date_format:$smarty.const.PHPAGA_DATEFORMAT_SHORT} {$projects[pdetails].prjcat_title|wash} {if (strlen($projects[pdetails].prj_duration) && ($projects[pdetails].prj_duration > 0))}{$projects[pdetails].prj_duration|phpaga_minutes2duration}{else} {/if} {t}Add task{/t}
{if strlen($prjstat_sel_name)} {t}You have not created any projects and you are not a member of any existing project with the selected status.{/t} {else} {t}You have not created any projects and you are not a member of any existing project.{/t} {/if}
{$LAST_OPERATIONS}  
{if count($operations) > 0} {section name=details loop=$operations} $smarty.const.PHPAGA_SHOWPRJTITLELENGHT))} onmouseover="return escape('{$operations[details].prj_title|phpaga_popup_sanitizestr}')"{/if}> {$operations[details].prj_title|wash|truncate:$smarty.const.PHPAGA_SHOWPRJTITLELENGHT:"...":true} $smarty.const.PHPAGA_SHOWOPDESCLENGHT))} onmouseover="return escape('{$operations[details].op_desc|wash|phpaga_popup_sanitizestr}')"{/if}> {$operations[details].op_desc|wash|truncate:$smarty.const.PHPAGA_SHOWOPDESCLENGHT:"...":true} {/section}
{t}Project{/t} {t}Task{/t} {t}Date{/t} {t}Category{/t} {t}Hours{/t} {t}Actions{/t}
{$operations[details].op_startdate|wash|date_format:$smarty.const.PHPAGA_DATEFORMAT_SHORT} {$operations[details].opcat_title|wash} {$operations[details].op_duration_hrs} {strip} {t}View{/t} {if ($operations[details].op_canedit)} {t}Edit{/t} {t}Delete{/t} {elseif $perm_view_invoices} {t}View invoice{/t} {/if} {/strip}
{else}
{t}You have not tracked any tasks yet.{/t}
{/if}