mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-27 11:21:42 +00:00
feat(login): show profile (#485)
* profile data * fix scripts * fix image paths * feat: show profile (with image) when possible * fix profile image width
This commit is contained in:
13
internal/ui/login/static/templates/user_profile.html
Normal file
13
internal/ui/login/static/templates/user_profile.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{define "user-profile"}}
|
||||
{{if .LoginName}}
|
||||
<div class="login-profile">
|
||||
<div class="profile-image"></div>
|
||||
<div class="names">
|
||||
{{if .DisplayName}}
|
||||
<div class="displayname">{{.DisplayName}}</div>
|
||||
{{end}}
|
||||
<div class="loginname">{{.LoginName}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user