We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af3a6ae commit f2919f9Copy full SHA for f2919f9
templates/repo/diff/box.tmpl
@@ -29,10 +29,12 @@
29
{{range .Diff.Files}}
30
<li>
31
<div class="bold df ac pull-right">
32
- {{if not .IsBin}}
33
- {{template "repo/diff/stats" dict "file" . "root" $}}
+ {{if .IsBin}}
+ <span class="ml-1 mr-3">
34
+ {{$.i18n.Tr "repo.diff.bin"}}
35
+ </span>
36
{{else}}
- <span>{{$.i18n.Tr "repo.diff.bin"}}</span>
37
+ {{template "repo/diff/stats" dict "file" . "root" $}}
38
{{end}}
39
</div>
40
<!-- todo finish all file status, now modify, add, delete and rename -->
@@ -87,7 +89,9 @@
87
89
</a>
88
90
<div class="bold df ac">
91
{{if $file.IsBin}}
- {{$.i18n.Tr "repo.diff.bin"}}
92
93
94
95
96
{{template "repo/diff/stats" dict "file" . "root" $}}
97
0 commit comments