Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
62b54714
Commit
62b54714
authored
Jul 05, 2018
by
Lukas Burgey
Browse files
Fix the display of the profile name
parent
6cad41f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/app/header/header.component.html
View file @
62b54714
...
...
@@ -24,10 +24,10 @@
<button
mat-button
mat-icon-button
(click)=
"dialog.openSshKeys()"
>
<mat-icon>
vpn_key
</mat-icon>
</button>
<button
*ngIf=
"userService.user
!= null
"
mat-button
(click)=
"dialog.openProfile()"
>
{{ userService.user
?.email
}}
<button
*ngIf=
"userService.user
.profile_name != undefined
"
mat-button
(click)=
"dialog.openProfile()"
>
{{ userService.user
.profile_name
}}
</button>
<button
*ngIf=
"userService.user
== null
"
mat-button
(click)=
"dialog.openProfile()"
>
<button
*ngIf=
"userService.user
.profile_name == undefined
"
mat-button
(click)=
"dialog.openProfile()"
>
Profile
</button>
<button
mat-raised-button
color=
"accent"
(click)=
"userService.logout()"
>
Logout
</button>
...
...
src/app/types/types.module.ts
View file @
62b54714
...
...
@@ -81,7 +81,7 @@ export interface Deployment {
}
export
interface
User
{
email
:
string
;
profile_name
:
string
;
userinfo
:
any
;
ssh_keys
:
SSHKey
[];
services
:
Service
[];
...
...
src/styles.css
View file @
62b54714
...
...
@@ -31,6 +31,10 @@ body {
}
button
.mat-button
{
margin-right
:
10px
;
}
mat-icon
{
vertical-align
:
middle
;
padding-right
:
5px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment