aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/fs.qtpl4
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() %}&emsp;{% endif %}
{% if p.ShowOwner %}{%d f.GetGid() %}:{%d f.GetUid() %}&emsp;{% 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>