Commit 7f670087 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Hide 'by' when viewing institution-owned artefacts

parent 5f30780a
......@@ -3,8 +3,8 @@
{include file="columnfullstart.tpl"}
<a href="{$WWWROOT}view/view.php?id={$viewid}">{$viewtitle}</a> {str tag=by section=view}
<a href="{$WWWROOT}{$ownerlink}">{$ownername}</a>{foreach from=$artefactpath item=a}:
<a href="{$WWWROOT}view/view.php?id={$viewid}">{$viewtitle}</a>{if $ownername} {str tag=by section=view}
<a href="{$WWWROOT}{$ownerlink}">{$ownername}</a>{/if}{foreach from=$artefactpath item=a}:
{if $a.url}<a href="{$a.url}">{/if}{$a.title}{if $a.url}</a>{/if}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment