mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 04:12:10 +00:00
Added auto-save whitespace behavior if it changed manually (#15566)
This commit is contained in:
parent
60f203385e
commit
4d939845d2
4 changed files with 33 additions and 9 deletions
|
@ -2,8 +2,8 @@
|
|||
{{.i18n.Tr "repo.diff.whitespace_button"}}
|
||||
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||||
<div class="menu">
|
||||
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=">
|
||||
<i class="circle {{ if eq .WhitespaceBehavior "" }}dot{{else}}outline{{end}} icon"></i>
|
||||
<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>
|
||||
{{.i18n.Tr "repo.diff.whitespace_show_everything"}}
|
||||
</a>
|
||||
<a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-all">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue