Skip to content

Commit c0a138c

Browse files
JLeenksukhpalp
andauthored
WFPREV-925 Fix font style and textarea placeholder (#1102)
Co-authored-by: Sukh <6563909+sukhpalp@users.noreply.github.com>
1 parent 57b321d commit c0a138c

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

client/wfprev-war/src/main/angular/src/app/components/wfprev-performance-update-modal-window/wfprev-performance-update-modal-window.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</div>
1717
</div>
1818
<div class="general-updates">
19-
<wfprev-textarea [label]="'General Updates (Success, Challenges, Progress)'" [rows]="4" [maxLength]="500"
19+
<wfprev-textarea [label]="'General Updates (Successes, Challenges, Progress)'" [rows]="4" [maxLength]="500"
2020
[control]="generalUpdatesControl" [required]="true">
2121
</wfprev-textarea>
2222
</div>
@@ -59,7 +59,7 @@
5959
[prefix]="'$'" />
6060
</div>
6161
<div class="forecast-rationale">
62-
<wfprev-textarea [label]="'Revised Forecast Rationale'" [rows]="2" [maxLength]="500"
62+
<wfprev-textarea [label]="'Revised Forecast Rationale'" placeholder="Some rationale about why the amount went up." [rows]="2" [maxLength]="500"
6363
[control]="forecastRationaleControl" [required]="true">
6464
</wfprev-textarea>
6565
</div>
@@ -69,7 +69,7 @@
6969
<p mat-dialog-title class="risk-breakdown-title">Budget Risk Breakdown</p>
7070
<div class="modal-window-row">
7171
<p class="section-description">Provide a breakdown of the total budget risks. All values must add up to the
72-
{{'{'}}Current/Revised{{'}'}} forecast amount as this information is used to identify how much of the overall
72+
{{'{'}}<b>Current/Revised</b>{{'}'}} <b>forecast</b> amount as this information is used to identify how much of the overall
7373
budget is at risk.</p>
7474
</div>
7575
<div class="modal-window-row risk-container">
@@ -80,8 +80,8 @@
8080
[prefix]="'$'" [img]="'/assets/high-risk.svg'" />
8181
</div>
8282
<div class="forecast-rationale">
83-
<wfprev-textarea [label]="'Description'" [rows]="2" [maxLength]="500" [control]="highRiskDescriptionControl"
84-
[required]="true">
83+
<wfprev-textarea [label]="'Description'" placeholder="Some description about why this amount is high risk" [rows]="2" [maxLength]="500" [control]="highRiskDescriptionControl"
84+
[required]="true" >
8585
</wfprev-textarea>
8686
</div>
8787
</div>
@@ -93,7 +93,7 @@
9393
[prefix]="'$'" [img]="'/assets/medium-risk.svg'" />
9494
</div>
9595
<div class="forecast-rationale">
96-
<wfprev-textarea [label]="'Description'" [rows]="2" [maxLength]="500" [control]="mediumRiskDescriptionControl"
96+
<wfprev-textarea [label]="'Description'" placeholder="Some description about why this amount is medium risk" [rows]="2" [maxLength]="500" [control]="mediumRiskDescriptionControl"
9797
[required]="true">
9898
</wfprev-textarea>
9999
</div>
@@ -106,7 +106,7 @@
106106
[prefix]="'$'" [img]="'/assets/low-risk.svg'" />
107107
</div>
108108
<div class="forecast-rationale">
109-
<wfprev-textarea [label]="'Description'" [rows]="2" [maxLength]="500" [control]="lowRiskDescriptionControl"
109+
<wfprev-textarea [label]="'Description'" placeholder="Some description about why this amount is low risk" [rows]="2" [maxLength]="500" [control]="lowRiskDescriptionControl"
110110
[required]="true">
111111
</wfprev-textarea>
112112
</div>
@@ -119,7 +119,7 @@
119119
[prefix]="'$'" [img]="'/assets/none-risk.svg'" />
120120
</div>
121121
<div class="forecast-rationale">
122-
<wfprev-textarea [label]="'Description'" [rows]="2" [maxLength]="500" [control]="completeDescriptionControl"
122+
<wfprev-textarea [label]="'Description'" placeholder="Some description about what amount was spent and how" [rows]="2" [maxLength]="500" [control]="completeDescriptionControl"
123123
[required]="true">
124124
</wfprev-textarea>
125125
</div>

client/wfprev-war/src/main/angular/src/app/components/wfprev-performance-update-modal-window/wfprev-performance-update-modal-window.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class PerformanceUpdateModalWindowComponent {
220220
data: {
221221
indicator: 'confirm-unsave',
222222
title: ModalTitles.CONFIRM_CANCEL_TITLE,
223-
message: ModalMessages.CONFIRM_CANCEL_MESSAGE
223+
message: ModalMessages.CONFIRM_CANCEL_PERFORMANCE_UPDATE_MODAL_WINDOW_MESSAGE
224224
},
225225
width: '600px',
226226
});

client/wfprev-war/src/main/angular/src/app/utils/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export const ModalTitles = {
171171

172172
export const ModalMessages = {
173173
CONFIRM_CANCEL_MESSAGE: 'Are you sure you want to cancel? This information will not be saved.',
174+
CONFIRM_CANCEL_PERFORMANCE_UPDATE_MODAL_WINDOW_MESSAGE: 'Are you sure you want to leave this page? The changes you made will not be saved.',
174175
DUPLICATE_FOUND_MESSAGE: 'This Project already exists: ',
175176
CONFIRM_UNSAVE_MESSAGE: 'Are you sure you want to leave this page? The changes you made will not be saved.',
176177
DELETE_ATTACHMENT_MESSAGE: 'Are you sure you want to delete this file? ',

0 commit comments

Comments
 (0)