2018-06-11 11:50:17 +02:00
|
|
|
<h1 id='LSrelation_title_{$item.id|escape:"quotes"}' class='LSrelation'>{$item.label|escape:"htmlall"}</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}
|
2018-06-15 15:25:25 +02:00
|
|
|
<li class='LSview-actions'><a href='{$action.url}' class='LSview-actions LSrelation_modify' id='{$item.id|escape:"quotes"}'><img src='{img name=$action.action}' alt='{$action.label|escape:"htmlall"}' title='{$action.label|escape:"htmlall"}' /> {$action.label|escape:"htmlall"}</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}
|
2018-06-11 11:50:17 +02:00
|
|
|
<ul id='LSrelation_ul_{$item.id|escape:"quotes"}' class='LSrelation'>
|
2020-05-04 11:53:12 +02:00
|
|
|
{if isset($item['objectList']) && !empty($item.objectList)}
|
|
|
|
{foreach from=$item.objectList item=object}
|
2020-05-03 18:48:33 +02:00
|
|
|
<li class='LSrelation'><a href='object/{$item.LSobject|escape:"url"}/{$object.dn|escape:'url'}' class='LSrelation{if $object.canEdit} LSrelation_editable{/if}' id='LSrelation_{$item.id|escape:"quotes"}_{$object.dn|escape:"quotes"}'>{$object.text|escape:"htmlall"}</a></li>
|
2020-05-04 11:53:12 +02:00
|
|
|
{/foreach}
|
|
|
|
{else}
|
2018-06-11 11:50:17 +02:00
|
|
|
<li class='LSrelation'>{$item.emptyText|escape:"htmlall"}</li>
|
2020-05-04 11:53:12 +02:00
|
|
|
{/if}
|
2008-02-26 18:40:05 +01:00
|
|
|
</ul>
|