{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content}

{$layout.pagetitle}

{if $divisions} {/if} {if $divisions} {/if} {if $listdata.total != 0} {/if} {foreach $invprojectlist as $invproject} {if $divisions} {/if} {foreachelse} {/foreach}
{trans("ID")} {icon name="division" class="fa-fw"} {trans("Division")} {trans("Name")} {trans("Estimated completion date")} {trans("Nodes")} {trans("Network Device Nodes")} {button icon="save" label="Add investment project" href="?m=invprojectadd"}
{include file="scroller.html" loop=$invprojectlist}
({$invproject.id|string_format:"#%d"}) {icon name="division" class="fa-fw"} {foreach $divisions as $division} {if $division.id == $invproject.divisionid}{$division.label|escape}{/if} {/foreach} {$invproject.name|escape} {if $invproject.cdate} {$invproject.cdate|date_format:"%Y/%m/%d"} {/if} {$invproject.nodes} {$invproject.netnodes} {button type="link" icon="edit" tip="Edit" href="?m=invprojectedit&id={$invproject.id}"} {button type="link" icon="delete" tip="Delete" class="delete-invproject" data_href="?m=invprojectdel&id={$invproject.id}"}
{trans("There are no investment project.")}
{button icon="save" label="Add investment project" href="?m=invprojectadd"}
{/block}