2008-10-08 17:34:36 +02:00
|
|
|
<h1 id='LSrelation_title_{$item.id}' class='LSrelation'>{$item.label}</h1>
|
2008-02-26 18:40:05 +01:00
|
|
|
{if $item.actions!=''}
|
2008-07-05 22:28:49 +02:00
|
|
|
<ul class='LSview-actions'>
|
2008-02-26 18:40:05 +01:00
|
|
|
{foreach from=$item.actions item=action}
|
2013-06-19 00:53:26 +02:00
|
|
|
<li class='LSview-actions'><a href='{$action.url}' class='LSview-actions LSrelation_modify' id='{$item.id}'><img src='{img name=$action.action}' alt='{$action.label}' title='{$action.label}' /> {$action.label}</a></li>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/foreach}
|
2008-07-05 22:28:49 +02:00
|
|
|
</ul>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/if}
|
|
|
|
<ul id='LSrelation_ul_{$item.id}' class='LSrelation'>
|
|
|
|
{foreach from=$item.objectList item=object}
|
2012-05-03 12:37:55 +02:00
|
|
|
<li class='LSrelation'><a href='view.php?LSobject={$item.LSobject}&dn={$object.dn|escape:'url'}' class='LSrelation{if $object.canEdit} LSrelation_editable{/if}' id='{$object.dn}'>{$object.text}</a></li>
|
2008-10-08 17:34:36 +02:00
|
|
|
{foreachelse}
|
|
|
|
<li class='LSrelation'>{$item.emptyText}</li>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/foreach}
|
|
|
|
</ul>
|