aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_index.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/repo_index.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl
index f6615d7..7faea1e 100644
--- a/templates/repo_index.html.tmpl
+++ b/templates/repo_index.html.tmpl
@@ -37,7 +37,7 @@
<table id="recent-commits" class="wide">
<thead>
<tr class="title-row">
- <th colspan="3"><label for="toggle-table-recent-commits">Recent Commits (<a href="log/{{ .ref }}/">see all</a>)</label></th>
+ <th colspan="3"><label for="toggle-table-recent-commits">Recent Commits (<a href="log/{{ .ref_name }}/">see all</a>)</label></th>
</tr>
</thead>
<tbody>
@@ -60,11 +60,11 @@
<table id="file-tree" class="wide">
<thead>
<tr class="title-row">
- <th colspan="3"><label for="toggle-table-file-tree">/ on {{ .ref }}</label></th>
+ <th colspan="3"><label for="toggle-table-file-tree">/ on {{ .ref_name }}</label></th>
</tr>
</thead>
<tbody>
- {{- $ref := .ref }}
+ {{- $ref := .ref_name }}
{{- range .files }}
<tr>
<td class="file-mode">{{ .Mode }}</td>