From 92811693ab81ac0a43dc6a5084d1a31af1405efe Mon Sep 17 00:00:00 2001 From: Isabelle Date: Tue, 10 Mar 2026 17:44:45 +0100 Subject: [PATCH] feat(extra-features): Shows user's name or "log out" if logged in --- .../modules/ps_customersignin/ps_customersignin.tpl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/falcon/modules/ps_customersignin/ps_customersignin.tpl b/falcon/modules/ps_customersignin/ps_customersignin.tpl index 681ff4a..015a787 100644 --- a/falcon/modules/ps_customersignin/ps_customersignin.tpl +++ b/falcon/modules/ps_customersignin/ps_customersignin.tpl @@ -33,6 +33,17 @@ title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}" {/if} > + + {if $logged} + {if $customer.firstname} + {$customer.firstname|escape:'html':'UTF-8'} + {else} + {l s='Log out' d='Shop.Theme.Actions'} + {/if} + {else} + {l s='Log in' d='Shop.Theme.Actions'} + {/if} +
{capture name="svg_output"}{svg_icon file='person.svg'}{/capture} {if $smarty.capture.svg_output}