mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 17:03:47 +01:00
f5bfa2e5e3
-> Refonte en utilisant les templates - LSformElement_ssh_key -> Correction du fieldTemplate qui ne prévoyait pas une valeur vide
11 lines
589 B
Smarty
11 lines
589 B
Smarty
{if $freeze}
|
|
{if $value.type}
|
|
<span class='LSformElement_ssh_key_short_display' title='{$span_title}'>{$value.shortTxt}...</span> (Type : {$value.type}) <a href='mailto:{$value.mail}'>{$value.mail}</a><p class='LSformElement_ssh_key_value'>{$value.value}</p>
|
|
{elseif $value.shortTxt}
|
|
<span class='LSformElement_ssh_key_short_display'>{$value.shortTxt}...</span> ({$unknowTypeTxt})<p class='LSformElement_ssh_key_value'>{$value.value}</p>
|
|
{else}
|
|
{$noValueTxt}
|
|
{/if}
|
|
{else}
|
|
<textarea name='{$attr_name}[]' class='LSform LSformElement_ssh_key'>{$value}</textarea>
|
|
{/if}
|