mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-20 09:09:05 +01:00
95b3854e46
-> Revue de la mise en forme -> Revue de la structure de <li> (supression des <span>) -> Mise en place d'un texte quand plus aucun objet est en relation
15 lines
761 B
Smarty
15 lines
761 B
Smarty
<h1 id='LSrelation_title_{$item.id}' class='LSrelation'>{$item.label}</h1>
|
|
{if $item.actions!=''}
|
|
<ul class='LSview-actions'>
|
|
{foreach from=$item.actions item=action}
|
|
<li class='LSview-actions'><a href='{$action.url}' class='LSview-actions LSrelation_modify' id='{$item.id}'><img src='templates/images/{$action.action}.png' alt='{$action.label}' title='{$action.label}' /> {$action.label}</a></li>
|
|
{/foreach}
|
|
</ul>
|
|
{/if}
|
|
<ul id='LSrelation_ul_{$item.id}' class='LSrelation'>
|
|
{foreach from=$item.objectList item=object}
|
|
<li class='LSrelation'><a href='view.php?LSobject={$item.LSobject}&dn={$object.dn}' class='LSrelation' id='{$object.dn}'>{$object.text}</a></li>
|
|
{foreachelse}
|
|
<li class='LSrelation'>{$item.emptyText}</li>
|
|
{/foreach}
|
|
</ul>
|