diff options
Diffstat (limited to 'templates/repo/editor/upload.tmpl')
-rw-r--r-- | templates/repo/editor/upload.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/editor/upload.tmpl b/templates/repo/editor/upload.tmpl index 426d53db7a..88cdf61c74 100644 --- a/templates/repo/editor/upload.tmpl +++ b/templates/repo/editor/upload.tmpl @@ -10,7 +10,7 @@ <div class="ui breadcrumb field {{if .Err_TreePath}}error{{end}}"> <a class="section" href="{{$.BranchLink}}">{{.Repository.Name}}</a> {{$n := len .TreeNames}} - {{$l := Subtract $n 1}} + {{$l := Eval $n "-" 1}} {{range $i, $v := .TreeNames}} <div class="divider"> / </div> {{if eq $i $l}} |