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) %}
|
{% macro dev_heading(addon, amo) %}
|
||||||
<h3>
|
<h3>
|
||||||
{% set is_complete = not addon.is_incomplete() %}
|
{% set is_complete = not addon.is_incomplete() %}
|
||||||
|
@ -29,7 +27,4 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if waffle.switch('marketplace') %}
|
|
||||||
<p>{{ price(addon) }}</p>
|
|
||||||
{% endif %}
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% from 'addons/macros.html' import price %}
|
{% from 'detail/includes/price.html' import price %}
|
||||||
{% set previews = product.all_previews %}
|
{% set previews = product.all_previews %}
|
||||||
<div id="summary">
|
<div id="summary">
|
||||||
<ul class="statuslist padded">
|
<ul class="statuslist padded">
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
<dt>{{ _('Default Locale') }}</dt>
|
<dt>{{ _('Default Locale') }}</dt>
|
||||||
<dd>{{ product.default_locale }}</dd>
|
<dd>{{ product.default_locale }}</dd>
|
||||||
<dt>{{ _('Price') }}</dt>
|
<dt>{{ _('Price') }}</dt>
|
||||||
<dd>{{ price(product) }}
|
<dd>{{ price(request, product) }}
|
||||||
{% if product.is_premium() %}
|
{% if product.is_premium() %}
|
||||||
·
|
·
|
||||||
<span id="receipt-check-result"
|
<span id="receipt-check-result"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче