From a370efc13f0e1ea309e324639832832bc14cb6dc Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 10 Aug 2023 11:19:39 +0800 Subject: Use template context function for avatar rendering (#26385) Introduce `AvatarUtils`, no need to pass `$.Context` to every sub-template, and simplify the template helper functions. --- templates/base/head_navbar.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/base') diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 35aff8e538..1ad7fd20bd 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -57,7 +57,7 @@ {{if and .IsSigned .MustChangePassword}}