get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Links{/i18n}:
{$context->oDocument->getName()|sanitize}

{i18n}The current links to and from this document are displayed below.{/i18n}

{if $links_from || $links_to} {foreach from=$links_from item=link} {assign var="type" value=$link->getLinkType()} {assign var="target" value=$link->getChildDocument()} {/foreach} {foreach from=$links_to item=link} {assign var="type" value=$link->getLinkType()} {assign var="target" value=$link->getParentDocument()} {/foreach} {else} {/if}
  {i18n}Target{/i18n} {i18n}Type{/i18n} {i18n}Relationship{/i18n}
{if $write_permission} {i18n}Delete{/i18n} {else}   {/if} getId()}&qs[action]=main">{$target->getName()|sanitize} {$type->getName()} {i18n}Linked from this document{/i18n}
{if $write_permission} {i18n}Delete{/i18n} {else}   {/if} getId()}&qs[action]=main">{$target->getName()|sanitize} {$type->getName()} {i18n}Links to this document{/i18n}
{i18n}There are no links to or from this document.{/i18n}

{if $write_permission} {i18n}Add a new link{/i18n} {i18n}Add a new link{/i18n}. {/if}