-
Notifications
You must be signed in to change notification settings - Fork 0
Overload Information in Labor History Enhancement #563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Changes from all commits
7a915bd
d7d534b
811e320
2514bd8
4bd171e
46d45ff
3cdb63b
34bf866
18e52e2
c1d0b5e
e77b5c5
4c94d7f
3e8a99d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,3 +72,7 @@ | |
| .mailtoIcon{ | ||
| font-size: smaller; | ||
| } | ||
|
|
||
| .extraInfoRows { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we use we can get rid of this. |
||
| font-weight: bold; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,9 +67,9 @@ | |
| {% if "Denied" in form.status.statusName %} | ||
| <div class="leftMargin"> | ||
| <div class="row"> | ||
| <p class="control-label col-sm-5 pTag" align="right">Reject Reason: </p> | ||
| <p class="control-label col-sm-5 pTag extraInfoRows" align="right">Reject Reason: </p> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we need to have a class for font-weight, I know lsf has very old bootstrap so using bootstrap is out of the picture. However, I found out the codebase uses so we can use that as I believe this class isn't added conditionally either so we can definitely use |
||
| <div class="col-sm-5"> | ||
| <textarea class="rejectReasonTextArea" rows="3" cols="25" readonly>{{form.rejectReason}}</textarea> | ||
| <textarea class="rejectReasonTextArea" rows="3" cols="25" disabled readonly>{{form.rejectReason}}</textarea> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
@@ -80,8 +80,9 @@ | |
| <div class="col-sm-4" align="left">Submitted</div> | ||
| </div> | ||
| {% endif %} | ||
| {% endif %} | ||
|
|
||
| {% elif form.releaseForm != None %} | ||
| {% if form.releaseForm != None %} | ||
| {% if form.reviewedDate == None %} | ||
| <div class="h4 nopadding"> | ||
| <div class="col-sm-3">{{form.createdDate.strftime('%m-%d-%Y')}}</div> | ||
|
|
@@ -97,9 +98,9 @@ | |
| {% if "Denied" in form.status.statusName %} | ||
| <div class="leftMargin"> | ||
| <div class="row"> | ||
| <p class="col-sm-4 pTag">Reject Reason:</p> | ||
| <p class="col-sm-4 pTag extraInfoRows">Reject Reason:</p> | ||
| <div class="col-sm-7"> | ||
| <textarea class="rejectReasonTextArea" rows="2" cols="45" readonly>{{form.rejectReason}}</textarea> | ||
| <textarea class="rejectReasonTextArea" rows="2" cols="45" disabled readonly>{{form.rejectReason}}</textarea> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
@@ -112,13 +113,13 @@ | |
| {% endif %} | ||
| <div class="smallDataMargin"> | ||
| <div class="row" style="padding-top:5px"> | ||
| <p class="col-sm-4 releaseTopRows pTag">Condition at Release:</p> | ||
| <p class="col-sm-4 releaseTopRows pTag extraInfoRows">Condition at Release:</p> | ||
| <div class="col-sm-7" align="left"> | ||
| <p>{{form.releaseForm.conditionAtRelease}}</p> | ||
| </div> | ||
| </div> | ||
| <div class="row" style="padding-top:5px"> | ||
| <p class="col-sm-4 releaseTopRows pTag">Labor Office Contact:</p> | ||
| <p class="col-sm-4 releaseTopRows pTag extraInfoRows">Labor Office Contact:</p> | ||
| <div class="col-sm-7" align="left"> | ||
| <p> | ||
| {% if form.releaseForm.contactPerson_id %} | ||
|
|
@@ -130,52 +131,55 @@ | |
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <p class="col-sm-4 releaseTopRows pTag" align="left">Release Date:</p> | ||
| <p class="col-sm-4 releaseTopRows pTag extraInfoRows" align="left">Release Date:</p> | ||
| <div class="col-sm-7" align="left"> | ||
| <p>{{form.releaseForm.releaseDate.strftime('%m-%d-%Y')}}</p> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <p class="col-sm-4 bottomRows pTag">Reason for release:</p> | ||
| <p class="col-sm-4 bottomRows pTag extraInfoRows">Reason for release:</p> | ||
| <div class="col-sm-7" align="left"> | ||
| <textarea class="releaseReasonTextArea" rows="2" cols="45" readonly>{{form.releaseForm.reasonForRelease}}</textarea> | ||
| <textarea class="releaseReasonTextArea" rows="2" cols="45" disabled readonly>{{form.releaseForm.reasonForRelease}}</textarea> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| {% elif form.adjustedForm != None %} | ||
| {% if form.reviewedDate == None %} | ||
| <div class="h4 nopadding"> | ||
| <div class="col-sm-3">{{form.createdDate.strftime('%m-%d-%Y')}}</div> | ||
| <div class="col-sm-5 ">{{form.historyType}}</div> | ||
| <div class="col-sm-4" align="left">Submitted</div> | ||
| </div> | ||
| {% elif form.reviewedDate != None %} | ||
| <div class="h4 nopadding"> | ||
| <div class="col-sm-3">{{form.reviewedDate.strftime('%m-%d-%Y')}}</div> | ||
| <div class="col-sm-5 ">{{form.historyType}}</div> | ||
| <div class="col-sm-4" align="left">{{form.status}}</div> | ||
| </div> | ||
| {% if "Denied" in form.status.statusName %} | ||
| <div class="leftMargin"> | ||
| <div class="row"> | ||
| <p class="col-sm-4 pTag">Reject Reason:</p> | ||
| <div class="col-sm-7"> | ||
| <textarea class="rejectReasonTextArea" rows="2" cols="45" readonly>{{form.rejectReason}}</textarea> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| {% endif %} | ||
| <div class="h4 nopadding"> | ||
| <div class="col-sm-3">{{form.createdDate.strftime('%m-%d-%Y')}}</div> | ||
| <div class="col-sm-5 ">{{form.historyType}}</div> | ||
| <div class="col-sm-4" align="left">Submitted</div> | ||
| </div> | ||
| {% endif %} | ||
|
|
||
| {% if form.adjustedForm != None %} | ||
| {% if form.reviewedDate == None %} | ||
| <div class="h4 nopadding"> | ||
| <div class="col-sm-3">{{form.createdDate.strftime('%m-%d-%Y')}}</div> | ||
| <div class="col-sm-5 ">{{form.historyType}}</div> | ||
| <div class="col-sm-4" align="left">Submitted</div> | ||
| </div> | ||
| {% else %} | ||
| <div class="h4 nopadding"> | ||
| <div class="col-sm-3">{{form.reviewedDate.strftime('%m-%d-%Y')}}</div> | ||
| <div class="col-sm-5 ">{{form.historyType}}</div> | ||
| <div class="col-sm-4" align="left">{{form.status}}</div> | ||
| </div> | ||
| {% if "Denied" in form.status.statusName %} | ||
| <div class="leftMargin"> | ||
| <div class="row"> | ||
| <p class="col-sm-4 pTag extraInfoRows">Reject Reason:</p> | ||
| <div class="col-sm-7"> | ||
| <textarea class="rejectReasonTextArea" rows="2" cols="45" disabled readonly>{{form.rejectReason}}</textarea> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| {% endif %} | ||
| <div class="h4 nopadding"> | ||
| <div class="col-sm-3">{{form.createdDate.strftime('%m-%d-%Y')}}</div> | ||
| <div class="col-sm-5 ">{{form.historyType}}</div> | ||
| <div class="col-sm-4" align="left">Submitted</div> | ||
| </div> | ||
| {% endif %} | ||
| <div class="row"> | ||
| <p class="col-sm-11 smallDataMargin pTag">{{form.adjustedForm.fieldAdjusted}} changed from {{form.adjustedForm.oldValue}} to {{form.adjustedForm.newValue}}</p> | ||
| </div> | ||
|
|
||
| {% elif form.overloadForm != None %} | ||
| {% endif %} | ||
|
|
||
| {% if form.overloadForm != None %} | ||
| {% if form.reviewedDate == None %} | ||
| <div class="h4 overloadBottom"> | ||
| <div class="col-sm-3">{{form.createdDate.strftime('%m-%d-%Y')}}</div> | ||
|
|
@@ -197,9 +201,9 @@ | |
| {% if "Denied" in form.status.statusName %} | ||
| <div class="leftMargin"> | ||
| <div class="row"> | ||
| <p class="col-sm-4 nopadding pTag">Reject Reason:</p> | ||
| <p class="col-sm-4 nopadding pTag extraInfoRows">Reject Reason:</p> | ||
| <div class="col-sm-7"> | ||
| <textarea class="rejectReasonTextArea" rows="2" cols="45" readonly>{{form.rejectReason}}</textarea> | ||
| <textarea class="rejectReasonTextArea" rows="2" cols="45" disabled readonly>{{form.rejectReason}}</textarea> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
@@ -211,6 +215,33 @@ | |
| </div> | ||
| {% endif %} | ||
|
|
||
| <div class="smallDataMargin"> | ||
| <div class="row" style="padding-top:5px"> | ||
| <p class="col-sm-4 extraInfoRows pTag">Labor Office Contact:</p> | ||
| <div class="col-sm-7" align="left"> | ||
| <p> | ||
| {% set laborApprover = form.overloadForm.laborApprover.supervisor %} | ||
| {% if form.overloadForm.laborApprover_id and (laborApprover.FIRST_NAME or laborApprover.LAST_NAME) %} | ||
| {{laborApprover.FIRST_NAME}} {{laborApprover.LAST_NAME}} | ||
| {% else %} | ||
| None | ||
| {% endif %} | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <p class="col-sm-4 extraInfoRows pTag" align="left">Labor Review Date:</p> | ||
| <div class="col-sm-7" align="left"> | ||
| <p>{{form.overloadForm.laborReviewDate.strftime('%m-%d-%Y') if form.overloadForm.laborReviewDate else "Not yet reviewed"}}</p> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <p class="col-sm-4 extraInfoRows pTag">Reason for overload:</p> | ||
| <div class="col-sm-7" align="left"> | ||
| <textarea class="overloadReasonTextArea" rows="2" cols="45" disabled readonly>{{form.overloadForm.studentOverloadReason}}</textarea> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| {% endif %} | ||
|
|
||
| {% endfor %} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.