diff options
Diffstat (limited to 'templates/repo/diff.tmpl')
-rw-r--r-- | templates/repo/diff.tmpl | 4 |
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" .}} |