From e059197398ee2efd2b1bf2f6df4171c756a11986 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sat, 23 Jul 2022 21:12:16 +0200 Subject: [PATCH] WebClient: show images as gallery Signed-off-by: Nicola Murino --- common/dataretention.go | 2 +- templates/webclient/files.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/dataretention.go b/common/dataretention.go index 95929361..2d84260a 100644 --- a/common/dataretention.go +++ b/common/dataretention.go @@ -262,7 +262,7 @@ func (c *RetentionCheck) cleanupFolder(folderPath string) error { result.Elapsed = time.Since(startTime) result.Info = "data retention check skipped: no permissions" c.conn.Log(logger.LevelInfo, "user %#v does not have permissions to check retention on %#v, retention check skipped", - c.conn.User, folderPath) + c.conn.User.Username, folderPath) return nil } diff --git a/templates/webclient/files.html b/templates/webclient/files.html index 217184ae..434bcef5 100644 --- a/templates/webclient/files.html +++ b/templates/webclient/files.html @@ -1047,7 +1047,7 @@ along with this program. If not, see . case "svg": case "ico": var view_url = row['url']+"&inline=1"; - return ``; + return ``; case "mp4": case "mov": return ``;