list-virtual_mailbox.tpl: Indicate by color whether vacation is active (#1193)

thanks @csware
This commit is contained in:
Sven Strickroth authored and GitHub committed 2026-11-09 14:54:06 +00:00
1 parent 69404871ed
commit bce950ee4d
1 file changed
+1 -1
+1 -1
View File
@@ -139,7 +139,7 @@
{else}
{assign var="v_active" value=$PALANG.pOverview_vacation_option}
{/if}
<td><a class="btn btn-sm btn-warning list-action-icon" title="{$v_active}" aria-label="{$v_active}"
<td><a class="btn btn-sm btn-{if ($item.v_active==0)}info{else}warning{/if} list-action-icon" title="{$v_active}" aria-label="{$v_active}"
href="vacation.php?username={$item.username|escape:"url"}"><span class="bi bi-arrow-repeat" aria-hidden="true"></span></a></td>
{/if}
{else}