diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_index.html.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_log.html.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 80300d2..14d2a5d 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_name }}/">see all</a>)</label></th> + <th colspan="3"><label for="toggle-table-recent-commits">Recent Commits (<a href="log/{{ if .ref_type }}?{{ .ref_type }}={{ .ref_name }}{{ end }}">see all</a>)</label></th> </tr> </thead> <tbody> diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl index 88b978d..fa29fa5 100644 --- a/templates/repo_log.html.tmpl +++ b/templates/repo_log.html.tmpl @@ -11,7 +11,7 @@ <table id="commits" class="wide"> <thead> <tr class="title-row"> - <th colspan="4">Commits on {{ .ref_name }}</th> + <th colspan="4">Commits {{ if .ref_name }} on {{ .ref_name }}{{ end }}</th> </tr> <tr> <th scope="col">ID</th> |