Commit 827ac6de authored by Nigel McNie's avatar Nigel McNie
Browse files

Only output the URL for path items that have a URL. Output a : separator between items.

parent 5003ca23
{include file="header.tpl"} {include file="header.tpl"}
{include file="columnfullstart.tpl"} {include file="columnfullstart.tpl"}
<h3><a href="{$WWWROOT}view/view.php?id={$viewid|escape}">{$viewtitle|escape}</a> {str tag=by section=view} <a href="{$WWWROOT}user/view.php?id={$viewowner}">{$formattedowner|escape}</a>: {foreach from=$artefactpath item=path}{if $path.url}<a href="{$path.url|escape}">{/if}{$path.title|escape}{if $path.url}</a>{/if}{/foreach}</h3> <h3><a href="{$WWWROOT}view/view.php?id={$viewid|escape}">{$viewtitle|escape}</a> {str tag=by section=view} <a href="{$WWWROOT}user/view.php?id={$viewowner}">{$formattedowner|escape}</a>: {foreach name=path from=$artefactpath item=path}{if $path.url}<a href="{$path.url|escape}">{/if}{$path.title|escape}{if $path.url}</a>{/if}{if !$smarty.foreach.path.last}: {/if}{/foreach}</h3>
<div id="view"> <div id="view">
<div id="bottom-pane"> <div id="bottom-pane">
<div id="column-container"> <div id="column-container">
......
Markdown is supported
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