Skip to content

Commit

Permalink
Render Premium Image
Browse files Browse the repository at this point in the history
  • Loading branch information
reldredge71 committed Aug 16, 2021
1 parent a7a77c0 commit 41098f3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/branded/branded-checkout.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export default angular
apiUrl: '@',
premiumCode: '@',
premiumName: '@',
premiumImageUrl: '@',
radioStationApiUrl: '@',
radioStationRadius: '@',
donorDetailsVariable: '@donorDetails',
Expand Down
1 change: 1 addition & 0 deletions src/app/branded/branded-checkout.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
on-payment-failed="$ctrl.onPaymentFailed($event.donorDetails)"
premium-code="$ctrl.premiumCode"
premium-name="$ctrl.premiumName"
premium-image-url="$ctrl.premiumImageUrl"
radio-station-api-url="$ctrl.radioStationApiUrl"
radio-station-radius="$ctrl.radioStationRadius">
</branded-checkout-step-1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ export default angular
onPaymentFailed: '&',
premiumCode: '<',
premiumName: '<',
premiumImageUrl: '<',
radioStationApiUrl: '<',
radioStationRadius: '<'
}
Expand Down
3 changes: 3 additions & 0 deletions src/app/branded/step-1/branded-checkout-step-1.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ <h3 class="panel-name" translate>{{'PREMIUM'}}</h3>
</label>
</div>
</div>
<div class="col-sm-4">
<img ng-src="{{$ctrl.premiumImageUrl}}" style="width: 200px; height: 200px" />
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 41098f3

Please sign in to comment.