mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 15:26:10 -06:00
fixed finish and publish date
This commit is contained in:
parent
ae29380e83
commit
fb8d2dca1a
@ -24,6 +24,7 @@ return [
|
|||||||
'ads' => [
|
'ads' => [
|
||||||
'title' => 'visiosoft.module.advs::section.ads',
|
'title' => 'visiosoft.module.advs::section.ads',
|
||||||
'fields' => [
|
'fields' => [
|
||||||
|
'show_finish_and_publish_date',
|
||||||
'latest-limit',
|
'latest-limit',
|
||||||
'popular_ads_limit',
|
'popular_ads_limit',
|
||||||
'ads_image_limit',
|
'ads_image_limit',
|
||||||
|
|||||||
@ -108,7 +108,7 @@ return [
|
|||||||
'name' => 'Unpublished'
|
'name' => 'Unpublished'
|
||||||
],
|
],
|
||||||
'finish_at' => [
|
'finish_at' => [
|
||||||
'name' => 'Finish At'
|
'name' => 'Finish Date'
|
||||||
],
|
],
|
||||||
'cover_photo' => [
|
'cover_photo' => [
|
||||||
'name' => 'Cover Photo'
|
'name' => 'Cover Photo'
|
||||||
@ -370,4 +370,7 @@ return [
|
|||||||
'name' => 'Old Price'
|
'name' => 'Old Price'
|
||||||
],
|
],
|
||||||
'save_search' => 'Save Search',
|
'save_search' => 'Save Search',
|
||||||
|
'publish_at' => [
|
||||||
|
'name' => 'Publish Date'
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -108,7 +108,7 @@ return [
|
|||||||
'name' => 'Yayınlanmamış'
|
'name' => 'Yayınlanmamış'
|
||||||
],
|
],
|
||||||
'finish_at' => [
|
'finish_at' => [
|
||||||
'name' => 'Bitiş Saati'
|
'name' => 'Bitiş Tarihi'
|
||||||
],
|
],
|
||||||
'cover_photo' => [
|
'cover_photo' => [
|
||||||
'name' => 'Kapak Fotoğrafı'
|
'name' => 'Kapak Fotoğrafı'
|
||||||
@ -371,4 +371,7 @@ return [
|
|||||||
'name' => 'Eski fiyat'
|
'name' => 'Eski fiyat'
|
||||||
],
|
],
|
||||||
'save_search' => 'Aramayı Kaydet',
|
'save_search' => 'Aramayı Kaydet',
|
||||||
|
'publish_at' => [
|
||||||
|
'name' => 'Publish Date'
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
{{ asset_inline("visiosoft.module.advs::css/new-create.css") }}
|
{{ asset_inline("visiosoft.module.advs::css/new-create.css") }}
|
||||||
@ -96,7 +97,8 @@
|
|||||||
|
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
{% set PriceValue = form.fields.price.value|split('.') %}
|
{% set PriceValue = form.fields.price.value|split('.') %}
|
||||||
<input type="text" class="mt-3 border-0 text-right priceField whole-price flex-fill"
|
<input type="text"
|
||||||
|
class="mt-3 border-0 text-right priceField whole-price flex-fill"
|
||||||
placeholder="0" value="{{ PriceValue|first }}">
|
placeholder="0" value="{{ PriceValue|first }}">
|
||||||
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
|
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
|
||||||
<input class="mt-3 border-0 ml-2 text-center priceDecimalField decimal-price"
|
<input class="mt-3 border-0 ml-2 text-center priceDecimalField decimal-price"
|
||||||
@ -122,7 +124,8 @@
|
|||||||
placeholder="0" value="{{ standardPriceValue|first }}" type="text">
|
placeholder="0" value="{{ standardPriceValue|first }}" type="text">
|
||||||
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
|
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
|
||||||
<input class="mt-3 border-0 ml-2 text-center standard-price-decimal decimal-price"
|
<input class="mt-3 border-0 ml-2 text-center standard-price-decimal decimal-price"
|
||||||
placeholder="00" type="text" value="{{ standardPriceValue[1] }}" maxlength="2">
|
placeholder="00" type="text" value="{{ standardPriceValue[1] }}"
|
||||||
|
maxlength="2">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<select name="currency" class="mt-3 border-0 ml-2" id="currency" required>
|
<select name="currency" class="mt-3 border-0 ml-2" id="currency" required>
|
||||||
{% for currency in config_get('streams::currencies.enabled') %}
|
{% for currency in config_get('streams::currencies.enabled') %}
|
||||||
@ -134,7 +137,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% if setting_value("visiosoft.module.advs::show_finish_and_publish_date") %}
|
||||||
<div class="row mx-0 my-3">
|
<div class="row mx-0 my-3">
|
||||||
<div class="col-6 px-0">
|
<div class="col-6 px-0">
|
||||||
<label>
|
<label>
|
||||||
@ -222,6 +225,7 @@
|
|||||||
|
|
||||||
</style>
|
</style>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{% if not setting_value('visiosoft.module.advs::hide_options_field') %}
|
{% if not setting_value('visiosoft.module.advs::hide_options_field') %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user