aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-12 01:45:43 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-12 01:45:43 -0400
commit31d613c01d313e14cc57fcb183f7489352ff6aa5 (patch)
tree612cb8563d6d7728e5a4c2fb17e609001c78378f /templates/repo
parentd305448fa802a91ba81af1b78294f1658bcf834c (diff)
downloadgitea-31d613c01d313e14cc57fcb183f7489352ff6aa5.tar.gz
gitea-31d613c01d313e14cc57fcb183f7489352ff6aa5.zip
Mirror fix
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl
index a041284d00..796a8e94c3 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -20,6 +20,9 @@
</div>
</div>
+ {{if .DiffNotAvailable}}
+ <h4>Diff Data Not Available.</h4>
+ {{else}}
<div class="diff-detail-box diff-box">
<a class="pull-right btn btn-default" data-toggle="collapse" data-target="#diff-files">Show Diff Stats</a>
<p class="showing">
@@ -97,6 +100,7 @@
</div>
</div>
{{end}}
+ {{end}}
</div>
</div>
{{template "base/footer" .}}