aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/repo_raw_dir.html.tmpl2
-rw-r--r--templates/repo_tree_dir.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_raw_dir.html.tmpl b/templates/repo_raw_dir.html.tmpl
index 6b1da0d..a264d24 100644
--- a/templates/repo_raw_dir.html.tmpl
+++ b/templates/repo_raw_dir.html.tmpl
@@ -12,7 +12,7 @@
<thead>
<tr class="title-row">
<th colspan="3">
- (Raw) /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} on {{ .ref }}
+ (Raw) /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }}{{ if .ref }} on {{ .ref }}{{ end }}
</th>
</tr>
</thead>
diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl
index 4386637..d7fbb10 100644
--- a/templates/repo_tree_dir.html.tmpl
+++ b/templates/repo_tree_dir.html.tmpl
@@ -12,7 +12,7 @@
<thead>
<tr class="title-row">
<th colspan="3">
- /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} on {{ .ref }}
+ /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }}{{ if .ref }} on {{ .ref }}{{ end }}
</th>
</tr>
</thead>