From 14e5580efd51c7b9e70d304715e512a2ea2a1b21 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 1 Dec 2023 00:26:06 +0100 Subject: feat: Add option to download file --- templates/fs.qtpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/fs.qtpl b/templates/fs.qtpl index 3dc2c5a..7ffc39c 100644 --- a/templates/fs.qtpl +++ b/templates/fs.qtpl @@ -25,11 +25,11 @@ type FilePage struct { {% if p.ShowMode %}{%s f.Info.Mode().String() %} {% endif %} {% if p.ShowOwner %}{%d f.GetGid() %}:{%d f.GetUid() %} {% endif %} - {% if f.Info.IsDir() %} + {% if f.Info.IsDir() %} {%s f.Info.Name() %}/ {% else %} - {%s f.Info.Name() %} + {%s f.Info.Name() %} {% endif %}
{%dl f.Info.Size() %} B
-- cgit v1.2.3