mirror of https://github.com/portainer/portainer
fix(support): enforce minimum purchase amount (#2891)
* fix(support): enforce minimum purchase amount * Update app/portainer/views/support/product/product.html Co-Authored-By: Anthony Lapenna <lapenna.anthony@gmail.com> * fix(support): fix product img tags for webpackpull/2900/head^2
parent
6be394c2e0
commit
8025d4c817
|
@ -3,7 +3,8 @@
|
||||||
<div class="blocklist-item-box">
|
<div class="blocklist-item-box">
|
||||||
<!-- extension-image -->
|
<!-- extension-image -->
|
||||||
<span class="blocklist-item-logo">
|
<span class="blocklist-item-logo">
|
||||||
<img class="blocklist-item-logo" ng-src="images/support_{{ $ctrl.model.Id }}.png" />
|
<img class="blocklist-item-logo" ng-if="$ctrl.model.Id == 1" src="../../../../../assets/images/support_1.png" />
|
||||||
|
<img class="blocklist-item-logo" ng-if="$ctrl.model.Id == 2" src="../../../../../assets/images/support_2.png" />
|
||||||
</span>
|
</span>
|
||||||
<!-- !extension-image -->
|
<!-- !extension-image -->
|
||||||
<!-- extension-details -->
|
<!-- extension-details -->
|
||||||
|
|
|
@ -51,9 +51,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin-top: 15px;" ng-disabled="!formValues.hostCount">
|
<div style="margin-top: 15px;" >
|
||||||
<a href="https://portainer.io/checkout/?add-to-cart={{ product.ProductId }}&quantity={{ formValues.hostCount }}" target="_blank" class="btn btn-primary btn-sm" style="width: 100%; margin-left: 0;">
|
<a href="https://portainer.io/checkout/?add-to-cart={{ product.ProductId }}&quantity={{ formValues.hostCount }}" target="_blank">
|
||||||
Buy
|
<button ng-disabled="!formValues.hostCount || formValues.hostCount < 10" class="btn btn-primary btn-sm" style="width: 100%; margin-left: 0;">Buy</button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue