From 3f081d4b54261c1b4ee4f1df40c610fdd9581ef2 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sat, 2 Mar 2024 23:30:18 +0800 Subject: Rename Action.GetDisplayName to GetActDisplayName (#29540) To avoid conflicting with User.GetDisplayName, because there is no data type in template. And it matches other methods like GetActFullName / GetActUserName --- templates/user/dashboard/feeds.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/user') diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 6dec610e93..0e7371ad83 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -7,7 +7,7 @@
{{if gt .ActUser.ID 0}} - {{.GetDisplayName ctx}} + {{.GetActDisplayName ctx}} {{else}} {{.ShortActUserName ctx}} {{end}} -- cgit v1.2.3