mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
add user language value to hidden input to enable saving of profile without changing language (#3967)
This commit is contained in:
parent
d3dce01cf7
commit
e45331d6d2
@ -43,7 +43,7 @@
|
|||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="language">{{.i18n.Tr "settings.language"}}</label>
|
<label for="language">{{.i18n.Tr "settings.language"}}</label>
|
||||||
<div class="ui language selection dropdown" id="language">
|
<div class="ui language selection dropdown" id="language">
|
||||||
<input name="language" type="hidden">
|
<input name="language" type="hidden" value="{{.SignedUser.Language}}">
|
||||||
<i class="dropdown icon"></i>
|
<i class="dropdown icon"></i>
|
||||||
<div class="text">{{range .AllLangs}}{{if eq $.SignedUser.Language .Lang}}{{.Name}}{{end}}{{end}}</div>
|
<div class="text">{{range .AllLangs}}{{if eq $.SignedUser.Language .Lang}}{{.Name}}{{end}}{{end}}</div>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
|
Loading…
Reference in New Issue
Block a user