From 993c0ec2b6c3627b83beafc541aec7da6903a364 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mon, 6 Apr 2015 22:21:41 +0000 Subject: [PATCH] list.tpl: - improve headline: - in search mode, display the search term instead of the last selected domain (which isn't useful at all when displaying search results) - display number of aliases and mailboxes only in domain mode (they are useless/wrong in search mode) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1779 a1433add-5e2c-0410-b055-b7f2511e0802 --- templates/list-virtual.tpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/list-virtual.tpl b/templates/list-virtual.tpl index 294db821..1460d1a7 100644 --- a/templates/list-virtual.tpl +++ b/templates/list-virtual.tpl @@ -7,9 +7,13 @@ -

{$PALANG.pOverview_welcome}{$fDomain}

-

{$PALANG.aliases}: {$limit.alias_count} / {$limit.aliases}

-

{$PALANG.mailboxes}: {$limit.mailbox_count} / {$limit.mailboxes}

+{if isset($search._)} +

{$PALANG.pSearch_welcome} {$search._}

+{else} +

{$PALANG.pOverview_welcome}{$fDomain}

+

{$PALANG.aliases}: {$limit.alias_count} / {$limit.aliases}

+

{$PALANG.mailboxes}: {$limit.mailbox_count} / {$limit.mailboxes}

+{/if} {#form_search#}