mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -06:00
hide price for unauthorized users
This commit is contained in:
parent
26daad04d4
commit
89b64cbc1a
@ -32,7 +32,8 @@
|
|||||||
<p class="cat-data mb-1">{{ adv.cat1_name }} /{{ adv.cat2_name }}</p>
|
<p class="cat-data mb-1">{{ adv.cat1_name }} /{{ adv.cat2_name }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if showPrice %}
|
{% if showPrice %}
|
||||||
<p class="price-data mb-1">
|
<p class="price-data mb-1
|
||||||
|
{{ setting_value('visiosoft.module.advs::show_price_to_members_only') ? (auth_check() ? false : 'd-none') }}">
|
||||||
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
|
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -15,7 +15,9 @@
|
|||||||
{% if setting_value('visiosoft.module.advs::market_place') %}
|
{% if setting_value('visiosoft.module.advs::market_place') %}
|
||||||
<th class="text-nowrap">{{ trans('visiosoft.module.advs::field.listing_date') }}</th>
|
<th class="text-nowrap">{{ trans('visiosoft.module.advs::field.listing_date') }}</th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<th class="text-nowrap">{{ trans('visiosoft.module.advs::field.price.name') }}</th>
|
<th class="text-nowrap {{ setting_value('visiosoft.module.advs::show_price_to_members_only') ? (auth_check() ? false : 'd-none') }}">
|
||||||
|
{{ trans('visiosoft.module.advs::field.price.name') }}
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
@ -56,7 +58,7 @@
|
|||||||
<p>{{ adv.publish_at.value|date('Y') }}</p>
|
<p>{{ adv.publish_at.value|date('Y') }}</p>
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td class="price-data">
|
<td class="price-data {{ setting_value('visiosoft.module.advs::show_price_to_members_only') ? (auth_check() ? false : 'd-none') }}">
|
||||||
{% if not hideStandard %}
|
{% if not hideStandard %}
|
||||||
<p class="text-nowrap">
|
<p class="text-nowrap">
|
||||||
<s>
|
<s>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user