{include file="header.tpl"} {include file="sidebar.tpl"} {include file="columnleftstart.tpl"}
{if !$view.submittedto}
{str tag="deletethisview" section="view"}
{str tag ="editthisview" section="view"}
{/if}
{$view.title|escape}
{if !$view.submittedto}
{str tag="editviewnameanddescription" section="view"}
{/if}
{if $view.description}
{if !$view.submittedto}
{/if} {$view.description} {/if}
{if $view.artefacts}
{str tag="artefacts" section="view"}:
{foreach from=$view.artefacts item=artefact name=artefacts}{$artefact.title|escape}{if !$smarty.foreach.artefacts.last}, {/if}{/foreach}
{/if}
{str tag="editviewaccess" section="view"}
{if $view.submittedto}
{if $view.access} {$view.access} {/if} {if $view.accessgroups} {str tag="whocanseethisview" section="view"}: {foreach from=$view.accessgroups item=accessgroup name=artefacts} {* this is messy, but is like this so there aren't spaces between links and commas *} {if $accessgroup.accesstype == 'loggedin'} {str tag="loggedinlower" section="view"}{elseif $accessgroup.accesstype == 'public'} {str tag="publiclower" section="view"}{elseif $accessgroup.accesstype == 'friends'} {str tag="friendslower" section="view"}{elseif $accessgroup.accesstype == 'group'} {$accessgroup.name|escape}{elseif $accessgroup.accesstype == 'tutorgroup'} {$accessgroup.name|escape} ({str tag="tutors" section="view"}){elseif $accessgroup.accesstype == 'user'} {$accessgroup.id|display_name|escape}{/if}{if !$smarty.foreach.artefacts.last},{/if} {/foreach} {else} {str tag="nobodycanseethisview" section="view"} {/if}
{$view.submittedto}
{/if}
{if $view.submitto}
{$view.submitto}
{/if}
|