0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 09:34:38 +01:00
gitea/models
Baekjun Kim c4368fc6bc
Display full name (#20171)
The setting `DEFAULT_SHOW_FULL_NAME` promises to use the user's full name everywhere it can be used.

Unfortunately the function `*user_model.User.ShortName()` currently uses the `.Name` instead - but this should also use the `.FullName()`.

Therefore we should make `*user_model.User.ShortName()` base its pre-shortened name on the `.FullName()` function.
2022-07-05 12:30:05 +01:00
..
admin
appstate
asymkey
auth
avatars
db
fixtures
foreignreference
git
issues
migrations
organization
packages
perm
project
pull
repo
unit
unittest
user
webhook
action.go
action_list.go
action_test.go
consistency.go
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
notification.go
notification_test.go
org.go
org_team.go
org_team_test.go
org_test.go
release.go
repo.go
repo_activity.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go
statistic.go
task.go
token.go
token_test.go
upload.go
user.go
user_heatmap.go
user_heatmap_test.go