Skip to content

Commit

Permalink
feat: application summary edit link for DALP
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlin-sfgov committed Feb 3, 2025
1 parent 20822b3 commit f7ce30d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/ Qualify
span ng-show="::$ctrl.isSale"
review-summary-section header="{{'short_form_nav.qualify' | translate}}" section-name="prerequisites" editable="::$ctrl.sectionsAreEditable" edit-description="{{'label.edit_qualifications' | translate}}"
review-summary-section header="{{'short_form_nav.qualify' | translate}}" section-name="{{::$ctrl.qualifySectionHref()}}" editable="::$ctrl.sectionsAreEditable" edit-description="{{'label.edit_qualifications' | translate}}"
.app-inner
review-summary-item label="{{'label.you_have_confirmed' | translate}}" identifier="application-is-dalp" ng-if="::($ctrl.application.dalpEducator || $ctrl.application.dalpFirstResponder)"
div.margin-bottom ng-if="::$ctrl.application.dalpFirstResponder"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,11 @@ angular.module('dahlia.components')
ctrl.isDALPListing = ->
ListingDataService.listing.Custom_Listing_Type == 'Downpayment Assistance Loan Program'

ctrl.qualifySectionHref = ->
if ctrl.isDALPListing()
'dalp-screening'
else
'prequisites'

return ctrl
]

0 comments on commit f7ce30d

Please sign in to comment.