Remove some more price macro usage
This commit is contained in:
Родитель
2daa08b8be
Коммит
9ffb9212e0
|
@ -1,5 +1,3 @@
|
|||
{% from 'addons/macros.html' import price %}
|
||||
|
||||
{% macro dev_heading(addon, amo) %}
|
||||
<h3>
|
||||
{% set is_complete = not addon.is_incomplete() %}
|
||||
|
@ -29,7 +27,4 @@
|
|||
{% endwith %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if waffle.switch('marketplace') %}
|
||||
<p>{{ price(addon) }}</p>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% from 'addons/macros.html' import price %}
|
||||
{% from 'detail/includes/price.html' import price %}
|
||||
{% set previews = product.all_previews %}
|
||||
<div id="summary">
|
||||
<ul class="statuslist padded">
|
||||
|
@ -47,7 +47,7 @@
|
|||
<dt>{{ _('Default Locale') }}</dt>
|
||||
<dd>{{ product.default_locale }}</dd>
|
||||
<dt>{{ _('Price') }}</dt>
|
||||
<dd>{{ price(product) }}
|
||||
<dd>{{ price(request, product) }}
|
||||
{% if product.is_premium() %}
|
||||
·
|
||||
<span id="receipt-check-result"
|
||||
|
|
Загрузка…
Ссылка в новой задаче