aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_tree_dir.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo_tree_dir.tmpl')
-rw-r--r--templates/repo_tree_dir.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/repo_tree_dir.tmpl b/templates/repo_tree_dir.tmpl
index c528fee..fc06646 100644
--- a/templates/repo_tree_dir.tmpl
+++ b/templates/repo_tree_dir.tmpl
@@ -44,6 +44,13 @@
</div>
</div>
<div class="padding-wrapper scroll">
+ {{- if .ref_name -}}
+ <p>
+ <strong>
+ Warning: Due to various recent migrations, viewing non-HEAD refs may be broken.
+ </strong>
+ </p>
+ {{- end -}}
<table id="file-tree" class="wide">
<thead>
<tr class="title-row">