feat: интерактивный установщик install.sh (Docker / Ubuntu, админ, БД)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+29
-1
@@ -36,8 +36,36 @@
|
||||
</li>
|
||||
<% }) %>
|
||||
</ul>
|
||||
<p class="checkout-total">Итого: <strong><%= formatPrice(total) %></strong></p>
|
||||
<% if (pricing.promo) { %>
|
||||
<p class="checkout-promo">
|
||||
Промокод <strong><%= pricing.promo.code %></strong>
|
||||
<span class="promo-countdown" data-expires="<%= pricing.promo.expires_at %>">
|
||||
(<span class="promo-countdown__timer">—</span>)
|
||||
</span>
|
||||
</p>
|
||||
<% } %>
|
||||
<dl class="cart-summary__dl">
|
||||
<dt>Товары</dt>
|
||||
<dd><%= formatPrice(pricing.subtotal) %></dd>
|
||||
<% if (pricing.promoDiscount > 0) { %>
|
||||
<dt>Скидка по промокоду</dt>
|
||||
<dd class="cart-summary__discount">−<%= formatPrice(pricing.promoDiscount) %></dd>
|
||||
<% } %>
|
||||
<% if (pricing.loyaltyDiscount > 0) { %>
|
||||
<dt>Баллы лояльности</dt>
|
||||
<dd class="cart-summary__discount">−<%= formatPrice(pricing.loyaltyDiscount) %></dd>
|
||||
<% } %>
|
||||
<% if (pricing.pointsEarned > 0) { %>
|
||||
<dt>Начислим баллов</dt>
|
||||
<dd>+<%= pricing.pointsEarned %></dd>
|
||||
<% } %>
|
||||
<dt class="cart-summary__total-label">К оплате</dt>
|
||||
<dd class="cart-summary__total"><%= formatPrice(pricing.total) %></dd>
|
||||
</dl>
|
||||
<p class="muted"><a href="/cart">Изменить корзину или промокод</a></p>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<script src="/js/promo-countdown.js"></script>
|
||||
|
||||
<%- include('partials/layout-end') %>
|
||||
|
||||
Reference in New Issue
Block a user