Skip to content

Commit

Permalink
[#188156382] Select fewer bikes to mark as new.
Browse files Browse the repository at this point in the history
    Co-authored-by: Dayo Ajayi <dayo.ajayi@broadcom.com>
    Co-authored-by: Carlos Poon <carlos.poon@broadcom.com>
  • Loading branch information
Brian Shim committed Aug 22, 2024
1 parent d329fc6 commit 65c513c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 5 additions & 6 deletions apps/acme-shopping/public/catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,12 @@ <h1>Products</h1>
<div class="text">\
<h3><a href="detail.html?id=' + product.id + '"' + ' </a>' + product.name + '</h3>\
<p class="price">USD ' + dollarUSLocale.format(product.price) + '</p>\
</div>\
<div class="ribbon new">\
<div class="theribbon">NEW</div>\
<div class="ribbon-background"></div>\
</div>\
</div>\
</div>';
if(index < 5){
content += '<div class="ribbon new"> <div class="theribbon">NEW</div><div class="ribbon-background"></div></div>';
}
content += '</div></div>';

});

$("#rowProducts").append(content);
Expand Down
4 changes: 0 additions & 4 deletions apps/acme-shopping/public/checkout3.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ <h1>Checkout - Payment method</h1>
<div class="form-group">
<label for="expyear">Expiration Year</label>
<select id="expyear" class="form-control">
<option value="2020">2020</option>
<option value="2021">2021</option>
<option value="2022">2022</option>
<option value="2023">2023</option>
<option value="2024">2024</option>
<option value="2025">2025</option>
<option value="2026">2026</option>
Expand Down

0 comments on commit 65c513c

Please sign in to comment.