Commit b4bf9254 by nilu

Global hiring team page styles and minor modifications

parent dadf16b0
<div class="{{objectID ? 'openedFromWorkflow' : 'dashboard-content-area second-part' }}"> <div [ngClass]="{'global-content-area': isGlobalHT}" class="{{objectID ? 'openedFromWorkflow' : 'dashboard-content-area second-part' }}">
<app-error-message></app-error-message> <app-error-message></app-error-message>
<form #form="ngForm"> <form #form="ngForm">
<div class="ui-g ui-fluid"> <div class="ui-g ui-fluid">
......
...@@ -184,7 +184,7 @@ export class EditMessageTemplateComponent extends BaseComponent implements OnIni ...@@ -184,7 +184,7 @@ export class EditMessageTemplateComponent extends BaseComponent implements OnIni
return false; return false;
} }
return !!this.messageTemplate && !!this.messageTemplate.ObjectID && return !this.isGlobalHT && !!this.messageTemplate && !!this.messageTemplate.ObjectID &&
(this.messageTemplate.HiringTeam === this.adminPortalLayoutService.getHiringTeamID().ObjectID && !!this.objectID (this.messageTemplate.HiringTeam === this.adminPortalLayoutService.getHiringTeamID().ObjectID && !!this.objectID
&& this.editMode); && this.editMode);
} }
......
<div class="dashboard-content-area second-part"> <div [ngClass]="{'global-content-area': isGlobalHT}" class="dashboard-content-area second-part">
<app-error-message></app-error-message> <app-error-message></app-error-message>
<form #form="ngForm" *ngIf="!showLoader"> <form #form="ngForm" *ngIf="!showLoader">
<div class="ui-g ui-fluid"> <div class="ui-g ui-fluid">
......
...@@ -671,7 +671,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn ...@@ -671,7 +671,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
.subscribe( .subscribe(
() => { () => {
this.utilsService.handleSuccess(); this.utilsService.handleSuccess();
this.router.navigate(['/admin/list-workflow-templates']); this.router.navigate([this.isGlobalHT ? 'list-workflow-templates/global' : '/admin/list-workflow-templates']);
}, },
error => { error => {
this.showLoader = false; this.showLoader = false;
......
<div class="dashboard-content-area second-part"> <div [ngClass]="{'global-content-area': isGlobalHT}" class="dashboard-content-area second-part">
<form #form="ngForm"> <form #form="ngForm">
<div class="ui-g ui-fluid"> <div class="ui-g ui-fluid">
<div class="jobs-list-shorting"> <div class="jobs-list-shorting">
......
<div class="dashboard-content-area second-part"> <div [ngClass]="{'global-content-area': isGlobalHT}" class="dashboard-content-area second-part">
<form #form="ngForm"> <form #form="ngForm">
<div class="ui-g ui-fluid"> <div class="ui-g ui-fluid">
<div class="jobs-list-shorting"> <div class="jobs-list-shorting">
......
...@@ -2566,6 +2566,9 @@ a.forgot-pass { ...@@ -2566,6 +2566,9 @@ a.forgot-pass {
.welcome-box{ .welcome-box{
text-align: right; text-align: right;
} }
.global-content-area{
float:none !important;
}
.dashboard-content-area { .dashboard-content-area {
background-color: #e9ecef; background-color: #e9ecef;
float: right; float: right;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment