From 4ef235f49dbb50751dc191c56e369d50cdf5c386 Mon Sep 17 00:00:00 2001 From: Squirrel18 Date: Wed, 14 Feb 2024 22:28:28 -0500 Subject: [PATCH] feat: change the introductory language on offer page. feat: increment number of courses to display in the redeem coupon view. --- ecommerce/static/js/collections/offer_collection.js | 2 +- ecommerce/static/templates/_offer_course_list.html | 1 + ecommerce/templates/coupons/offer.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ecommerce/static/js/collections/offer_collection.js b/ecommerce/static/js/collections/offer_collection.js index 80c0c0abb81..0d47baa4e3b 100644 --- a/ecommerce/static/js/collections/offer_collection.js +++ b/ecommerce/static/js/collections/offer_collection.js @@ -14,7 +14,7 @@ define([ initialize: function() { this.page = 1; - this.perPage = 6; + this.perPage = 10; this.populated = false; this.updateLimits(); this.on('update', this.updateNumberOfPages); diff --git a/ecommerce/static/templates/_offer_course_list.html b/ecommerce/static/templates/_offer_course_list.html index 9efdd36a974..4f04a386fef 100644 --- a/ecommerce/static/templates/_offer_course_list.html +++ b/ecommerce/static/templates/_offer_course_list.html @@ -3,6 +3,7 @@ <% if (courses.length > 1) { %>

Welcome

+

Please choose a relevant course from the options below.

<%= pageHeadingMessage %>

<% } %> diff --git a/ecommerce/templates/coupons/offer.html b/ecommerce/templates/coupons/offer.html index 89c72674d45..a4a1156e988 100644 --- a/ecommerce/templates/coupons/offer.html +++ b/ecommerce/templates/coupons/offer.html @@ -12,7 +12,7 @@
-
+