|
|
@ -3,20 +3,28 @@ |
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
<div class="menu"> |
|
|
|
<div class="menu"> |
|
|
|
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=show-all"> |
|
|
|
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=show-all"> |
|
|
|
<i class="circle {{if eq .WhitespaceBehavior "show-all"}}dot{{else}}outline{{end}} icon"></i> |
|
|
|
<label class="pointer-events-none"> |
|
|
|
|
|
|
|
<input class="mr-3 pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "show-all"}} checked{{end}}> |
|
|
|
{{.locale.Tr "repo.diff.whitespace_show_everything"}} |
|
|
|
{{.locale.Tr "repo.diff.whitespace_show_everything"}} |
|
|
|
|
|
|
|
</label> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-all"> |
|
|
|
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-all"> |
|
|
|
<i class="circle {{if eq .WhitespaceBehavior "ignore-all"}}dot{{else}}outline{{end}} icon"></i> |
|
|
|
<label class="pointer-events-none"> |
|
|
|
|
|
|
|
<input class="mr-3 pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-all"}} checked{{end}}> |
|
|
|
{{.locale.Tr "repo.diff.whitespace_ignore_all_whitespace"}} |
|
|
|
{{.locale.Tr "repo.diff.whitespace_ignore_all_whitespace"}} |
|
|
|
|
|
|
|
<label> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-change"> |
|
|
|
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-change"> |
|
|
|
<i class="circle {{if eq .WhitespaceBehavior "ignore-change"}}dot{{else}}outline{{end}} icon"></i> |
|
|
|
<label class="pointer-events-none"> |
|
|
|
|
|
|
|
<input class="mr-3 pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-change"}} checked{{end}}> |
|
|
|
{{.locale.Tr "repo.diff.whitespace_ignore_amount_changes"}} |
|
|
|
{{.locale.Tr "repo.diff.whitespace_ignore_amount_changes"}} |
|
|
|
|
|
|
|
</label> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-eol"> |
|
|
|
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-eol"> |
|
|
|
<i class="circle {{if eq .WhitespaceBehavior "ignore-eol"}}dot{{else}}outline{{end}} icon"></i> |
|
|
|
<label class="pointer-events-none"> |
|
|
|
|
|
|
|
<input class="mr-3 pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-eol"}} checked{{end}}> |
|
|
|
{{.locale.Tr "repo.diff.whitespace_ignore_at_eol"}} |
|
|
|
{{.locale.Tr "repo.diff.whitespace_ignore_at_eol"}} |
|
|
|
|
|
|
|
</label> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|