aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/repo_index.tmpl3
-rw-r--r--templates/repo_log.tmpl3
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl
index 19814cc..d59e480 100644
--- a/templates/repo_index.tmpl
+++ b/templates/repo_index.tmpl
@@ -90,6 +90,9 @@
</td>
</tr>
{{- end -}}
+ {{- if dereference_error .commits_err -}}
+ Error while obtaining commit log: {{ .commits_err }}
+ {{- end -}}
</tbody>
</table>
</div>
diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl
index 64e6783..ac5f554 100644
--- a/templates/repo_log.tmpl
+++ b/templates/repo_log.tmpl
@@ -37,6 +37,9 @@
</td>
</tr>
{{- end -}}
+ {{- if dereference_error .commits_err -}}
+ Error while obtaining commit log: {{ .commits_err }}
+ {{- end -}}
</tbody>
</table>
</div>