diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/fs.qtpl | 4 |
1 files changed, 2 insertions, 2 deletions
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 { <span class="text-size-2"> {% if p.ShowMode %}{%s f.Info.Mode().String() %} {% endif %} {% if p.ShowOwner %}{%d f.GetGid() %}:{%d f.GetUid() %} {% endif %} - {% if f.Info.IsDir() %} </span> + {% if f.Info.IsDir() %} <a class="text-size-2" href="/?path={%s f.UrlEncodedPath %}">{%s f.Info.Name() %}/</a> {% else %} - {%s f.Info.Name() %} + <a class="text-size-2" href="/?path={%s f.UrlEncodedPath %}">{%s f.Info.Name() %}</a> {% endif %} </div> <div class="column text-size-2 has-text-right">{%dl f.Info.Size() %} B</div> |