Skip to content

Commit

Permalink
Merge pull request #8 from KB-iGOT/mentorship-changes
Browse files Browse the repository at this point in the history
update for cadre details
  • Loading branch information
vishnubansaltarento authored Aug 22, 2024
2 parents 9af8d1d + 72fae56 commit 2f108c5
Showing 1 changed file with 96 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,58 @@
</mat-form-field>
</div>
</div>
<!-- Cader Related Code-->
<div class="flex flex-row margin-top-m">
<div class="md:w-1/3">
<label class="margin-remove-bottom form-label">Are you a Cadre Employee?</label>
<mat-form-field appearance="outline">
<input type="text" matInput [disabled]="true"
[value]="user?.profileDetails?.cadreDetails ? 'Yes': 'No'">
</mat-form-field>
</div>

<div class="md:w-1/3" *ngIf="user?.profileDetails?.cadreDetails">
<label class="margin-remove-bottom form-label">Type of Civil Service</label>
<mat-form-field appearance="outline">
<input type="text" matInput [disabled]="true"
[value]="user?.profileDetails?.cadreDetails?.civilServiceType ? user?.profileDetails?.cadreDetails?.civilServiceType: ''">
</mat-form-field>
</div>

<div class="md:w-1/3" *ngIf="user?.profileDetails?.cadreDetails">
<label class="margin-remove-bottom form-label">Service</label>
<mat-form-field appearance="outline">
<input type="text" matInput [disabled]="true"
[value]="user?.profileDetails?.cadreDetails?.civilServiceName ? user?.profileDetails?.cadreDetails?.civilServiceName: ''">
</mat-form-field>
</div>
</div>
<div class="flex flex-row margin-top-m">
<div class="md:w-1/3" *ngIf="user?.profileDetails?.cadreDetails">
<label class="margin-remove-bottom form-label">Cadre</label>
<mat-form-field appearance="outline">
<input type="text" matInput [disabled]="true"
[value]="user?.profileDetails?.cadreDetails?.cadreName ? user?.profileDetails?.cadreDetails?.cadreName: ''">
</mat-form-field>
</div>

<div class="md:w-1/3" *ngIf="user?.profileDetails?.cadreDetails">
<label class="margin-remove-bottom form-label">Batch</label>
<mat-form-field appearance="outline">
<input type="text" matInput [disabled]="true"
[value]="user?.profileDetails?.cadreDetails?.cadreBatch ? user?.profileDetails?.cadreDetails?.cadreBatch: ''">
</mat-form-field>
</div>

<div class="md:w-1/3" *ngIf="user?.profileDetails?.cadreDetails">
<label class="margin-remove-bottom form-label">Cadre Controlling Authority</label>
<mat-form-field appearance="outline">
<input type="text" matInput [disabled]="true"
[value]="user?.profileDetails?.cadreDetails?.cadreControllingAuthorityName ? user?.profileDetails?.cadreDetails?.cadreControllingAuthorityName: ''">
</mat-form-field>
</div>
</div>
<!-- End of Cadre Related Code-->

<div class="flex flex-row margin-top-m">
<div class="md:w-1/2">
Expand Down Expand Up @@ -539,6 +591,50 @@
<p *ngIf="user.profileDetails && !user.profileDetails.additionalProperties">-</p>
</div>
</div>
<!-- Cader Related Code-->
<div class="flex flex-row margin-top-m">
<div class="md:w-1/4">
<label class="view-text-label">Are you a Cadre Employee?</label>
<p>{{user?.profileDetails?.cadreDetails ? 'Yes': 'No'}}</p>
</div>

<div class="md:w-1/4" *ngIf="user?.profileDetails?.cadreDetails">
<label class="view-text-label">Type of Civil Service</label>
<p>{{user?.profileDetails?.cadreDetails?.civilServiceType ?
user?.profileDetails?.cadreDetails?.civilServiceType: '-'}}</p>

</div>

<div class="md:w-1/4" *ngIf="user?.profileDetails?.cadreDetails">
<label class="view-text-label">Service</label>
<p>{{user?.profileDetails?.cadreDetails?.civilServiceName ?
user?.profileDetails?.cadreDetails?.civilServiceName: '-'}}</p>

</div>
<div class="md:w-1/4" *ngIf="user?.profileDetails?.cadreDetails">
<label class="view-text-label">Cadre</label>
<p>{{user?.profileDetails?.cadreDetails?.cadreName ? user?.profileDetails?.cadreDetails?.cadreName: '-'}}
</p>

</div>
</div>
<div class="flex flex-row margin-top-m">
<div class="md:w-1/4" *ngIf="user?.profileDetails?.cadreDetails">
<label class="view-text-label">Batch</label>
<p>{{user?.profileDetails?.cadreDetails?.cadreBatch ? user?.profileDetails?.cadreDetails?.cadreBatch:
'-'}}
</p>

</div>

<div class="md:w-1/2" *ngIf="user?.profileDetails?.cadreDetails">
<label class="view-text-label">Cadre Controlling Authority</label>
<p>{{user?.profileDetails?.cadreDetails?.cadreControllingAuthorityName ?
user?.profileDetails?.cadreDetails?.cadreControllingAuthorityName: '-'}}</p>

</div>
</div>
<!-- End of Cadre Related Code-->
<div class="flex flex-row margin-top-m">
<div class="md:w-1/1">
<label class="view-text-label">Roles</label>
Expand Down

0 comments on commit 2f108c5

Please sign in to comment.