Website: Fix features table on /pricing page (#17574)

Closes: #17573

Changes:
- Updated the pricing page to show tier names on the first category of
the visible features table.
This commit is contained in:
Eric 2024-03-12 14:38:58 -05:00 committed by GitHub
parent 9e147494a3
commit 4c3c20497c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,14 +153,14 @@
<thead>
<tr>
<td><h4><%- category.categoryName %></h4></td>
<%if(pricingTable.indexOf(category) === 0) {%>
<%if(pricingTableForIt.indexOf(category) === 0) {%>
<td class="text-center">
<strong>Free</strong>
</td>
<%}else {%>
<td ></td>
<%}%>
<%if(pricingTable.indexOf(category) === 0) {%>
<%if(pricingTableForIt.indexOf(category) === 0) {%>
<td class="text-center">
<strong>Premium</strong>
</td>
@ -224,14 +224,14 @@
<thead>
<tr>
<td><h4><%- category.categoryName %></h4></td>
<%if(pricingTable.indexOf(category) === 0) {%>
<%if(pricingTableForSecurity.indexOf(category) === 0) {%>
<td class="text-center">
<strong>Free</strong>
</td>
<%}else {%>
<td ></td>
<%}%>
<%if(pricingTable.indexOf(category) === 0) {%>
<%if(pricingTableForSecurity.indexOf(category) === 0) {%>
<td class="text-center">
<strong>Premium</strong>
</td>