Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="col-sm-4 featureFooter text-center no-padding">
- <p><%=features[0].feature_value%> items included</p>
- <% if(typeof update !== "undefined") { %>
- <% if( update === true) { %>
- <div class="active-plan">
- <img src="src/img/active_plan.png"/>
- <label class="active-plan">ACTIVE</button>
- </div>
- <% } else { %>
- <% if (active < id) { %>
- <button class="startFree upgrade-to-plan" data-price="<%=price%>"
- data-id="<%=id%>">UPGRADE NOW</button>
- <% } else { %>
- <button class="startFree text-left no-padding downgrade-to-plan"
- data-price="<%=price%>" data-id="<%=id%>">
- DOWNGRADE NOW</button>
- <% } %>
- <% } %>
- <% } else if (typeof credit_card !== "undefined") { %>
- <% if( features[0].feature_value === "100") { %>
- <button class="startFree add-card-to-plan" data-price="<%=price%>"
- data-id="<%=id%>">ADD CREDIT CARD</button>
- <% } else {%>
- <button class="startFree upgrade-add-card-to-plan"
- data-price="<%=price%>" data-id="<%=id%>">UPGRADE PLAN</button>
- <% } %>
- <% } else {%>
- <button class="startFree" data-id="<%=id%>">START FOR FREE</button>
- <% } %>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement