File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1515 {{ctx.Locale.Tr "repo.pulls.tab_files"}}
1616 <span class="ui small label">{{if .NumFiles}}{{.NumFiles}}{{else}}-{{end}}</span>
1717 </a>
18+ {{if or .Diff.TotalAddition .Diff.TotalDeletion}}
1819 <span class="item tw-ml-auto tw-pr-0 tw-font-bold tw-flex tw-items-center tw-gap-2">
1920 <span><span class="text green">{{if .Diff.TotalAddition}}+{{.Diff.TotalAddition}}{{end}}</span> <span class="text red">{{if .Diff.TotalDeletion}}-{{.Diff.TotalDeletion}}{{end}}</span></span>
2021 <span class="diff-stats-bar">
2122 <div class="diff-stats-add-bar" style="width: {{Eval 100 "*" .Diff.TotalAddition "/" "(" .Diff.TotalAddition "+" .Diff.TotalDeletion "+" 0.0 ")"}}%"></div>
2223 </span>
2324 </span>
25+ {{end}}
2426 </div>
2527 <div class="ui tabs divider"></div>
2628</div>
You can’t perform that action at this time.
0 commit comments