aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/profile-settings/profile-settings.component.html
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-22 16:53:08 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-22 16:53:08 +0200
commit3e34040b286bb41019d20794f19f18b1a94f77af (patch)
tree460260cfe739d65ea6e46a0f71bb7c196fe9e9f0 /src/app/components/profile-settings/profile-settings.component.html
parentba8b463e4c4f6ad192dfe7306134669cfec0dafa (diff)
downloadDevHive-Angular-3e34040b286bb41019d20794f19f18b1a94f77af.tar
DevHive-Angular-3e34040b286bb41019d20794f19f18b1a94f77af.tar.gz
DevHive-Angular-3e34040b286bb41019d20794f19f18b1a94f77af.zip
Added a button for navigation to admin panel page
Diffstat (limited to 'src/app/components/profile-settings/profile-settings.component.html')
-rw-r--r--src/app/components/profile-settings/profile-settings.component.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/components/profile-settings/profile-settings.component.html b/src/app/components/profile-settings/profile-settings.component.html
index f5989ef..62513ef 100644
--- a/src/app/components/profile-settings/profile-settings.component.html
+++ b/src/app/components/profile-settings/profile-settings.component.html
@@ -3,6 +3,11 @@
<app-loading *ngIf="!dataArrived"></app-loading>
<main class="scroll-standalone under-navbar centered-content flex-col">
+ <section class="card full-width" *ngIf="this.isAdminUser">
+ <button class="full-width faded-slim-border padding-smaller lighter-hover click-effect border-radius-smaller" (click)="goToAdminPanel()">
+ Go to admin panel
+ </button>
+ </section>
<form class="flex-row card full-width font-size-dot9 margin-top-bot-very-big" [formGroup]="updateProfilePictureFormGroup" (ngSubmit)="updateProfilePicture()">
<img id="profile-picture" class="round-image" [src]="user.profilePictureURL">
<section class="flexible flex-col flex-center-align-items flex-justify-center side-padding-font">