0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

Make "Custom" pronoun option italic

This commit is contained in:
hazycora 2023-09-26 01:22:05 -05:00
parent 563e8b49e8
commit 864a4332df
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E

View file

@ -58,9 +58,9 @@
<div class="item{{if eq "they/them" .SignedUser.Pronouns}} active selected{{end}}" data-value="they/them">they/them</div>
<div class="item{{if eq "it/its" .SignedUser.Pronouns}} active selected{{end}}" data-value="it/its">it/its</div>
{{if .PronounsAreCustom}}
<div class="item active selected" data-value="{{.SignedUser.Pronouns}}">{{.locale.Tr "settings.pronouns_custom"}}</div>
<div class="item active selected" data-value="{{.SignedUser.Pronouns}}"><i>{{.locale.Tr "settings.pronouns_custom"}}</i></div>
{{else}}
<div class="item" data-value="!">{{.locale.Tr "settings.pronouns_custom"}}</div>
<div class="item" data-value="!"><i>{{.locale.Tr "settings.pronouns_custom"}}</i></div>
{{end}}
</div>
</div>