mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
#1031 [sahibinden-theme] Detail page design changes (pending screen)
This commit is contained in:
parent
6280d77fb6
commit
ffdb6d9240
@ -19,6 +19,7 @@ return [
|
|||||||
'fields' => [
|
'fields' => [
|
||||||
'latest-limit',
|
'latest-limit',
|
||||||
'auto_approve',
|
'auto_approve',
|
||||||
|
'estimated_pending_time',
|
||||||
'default_published_time',
|
'default_published_time',
|
||||||
'default_adv_limit',
|
'default_adv_limit',
|
||||||
'default_GET',
|
'default_GET',
|
||||||
|
|||||||
@ -22,6 +22,12 @@ return [
|
|||||||
'default_value' => true,
|
'default_value' => true,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'estimated_pending_time' => [
|
||||||
|
'type' => 'anomaly.field_type.integer',
|
||||||
|
'config' => [
|
||||||
|
'default_value' => 6,
|
||||||
|
],
|
||||||
|
],
|
||||||
'default_published_time' => [
|
'default_published_time' => [
|
||||||
'type' => 'anomaly.field_type.integer',
|
'type' => 'anomaly.field_type.integer',
|
||||||
'bind' => 'adv.default_published_time',
|
'bind' => 'adv.default_published_time',
|
||||||
|
|||||||
@ -1,4 +1,16 @@
|
|||||||
.ad-detail-tabs .nav-link.active {
|
.ad-detail-tabs .nav-link.active {
|
||||||
background-color: #FFC106 !important;
|
background-color: #FFC106 !important;
|
||||||
border-color: #ffc107 #ffc107 #ffc107;
|
border-color: #ffc107 #ffc107 #ffc107;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pending screen */
|
||||||
|
.pending-screen {
|
||||||
|
background-color: #f2f2f2;
|
||||||
|
color: #b31901;
|
||||||
|
}
|
||||||
|
.pending-screen img {
|
||||||
|
height: 7em;
|
||||||
|
}
|
||||||
|
.pending-screen p {
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
BIN
addons/default/visiosoft/advs-module/resources/images/alarm.png
Normal file
BIN
addons/default/visiosoft/advs-module/resources/images/alarm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 193 KiB |
@ -263,4 +263,12 @@ return [
|
|||||||
"no_location" => "No location is selected.",
|
"no_location" => "No location is selected.",
|
||||||
"continue" => 'Continue',
|
"continue" => 'Continue',
|
||||||
"gallery" => 'Gallery',
|
"gallery" => 'Gallery',
|
||||||
|
|
||||||
|
// Pending screen
|
||||||
|
'pending_message_1' => 'The Ad is in the Approval Process',
|
||||||
|
'pending_message_2' => "Ad's Update Date",
|
||||||
|
'pending_message_3' => 'Estimated Waiting Time',
|
||||||
|
'pending_message_4' => 'The time spent in the approval process will be added to the doping time.',
|
||||||
|
'pending_message_5' => 'No transactions can be made from the call center regarding the ad in the approval process.',
|
||||||
|
'hours' => 'hours'
|
||||||
];
|
];
|
||||||
|
|||||||
@ -4,6 +4,10 @@ return [
|
|||||||
'auto_approve' => [
|
'auto_approve' => [
|
||||||
'name' => 'Auto Approve',
|
'name' => 'Auto Approve',
|
||||||
],
|
],
|
||||||
|
'estimated_pending_time' => [
|
||||||
|
'name' => 'Estimated Pending Time',
|
||||||
|
'instructions' => 'In Hours',
|
||||||
|
],
|
||||||
'default_published_time' => [
|
'default_published_time' => [
|
||||||
'name' => 'Default Publish Time',
|
'name' => 'Default Publish Time',
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1,6 +1,19 @@
|
|||||||
{% if adv.status == "pending_user" or adv.status == "pending_admin" %}
|
{% if adv.status == "pending_user" or adv.status == "pending_admin" %}
|
||||||
<div class="alert bg-info text-white alert-dismissible">
|
<div class="pending-screen mt-3 text-center py-5 rounded px-2">
|
||||||
<i class="fas fa-exclamation-triangle"></i>
|
<img src="{{ img('visiosoft.module.advs::images/alarm.png').url }}" alt="pending icon">
|
||||||
{{ trans('visiosoft.module.advs::message.pending_ad_status') }}
|
<h5 class="my-3">{{ trans('visiosoft.module.advs::field.pending_message_1') }}</h5>
|
||||||
</div>
|
<div class="row">
|
||||||
|
<div class="col-6 text-right">{{ trans('visiosoft.module.advs::field.pending_message_2') }}</div>
|
||||||
|
<div class="col-6 text-left pl-0">: {{ adv.updated_at|date('d M Y H:i') }}</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-6 text-right">{{ trans('visiosoft.module.advs::field.pending_message_3') }}</div>
|
||||||
|
<div class="col-6 text-left pl-0">
|
||||||
|
: {{ setting_value('visiosoft.module.advs::estimated_pending_time') }} {{ trans('visiosoft.module.advs::field.hours') }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="text-dark mb-0 mt-3">{{ trans('visiosoft.module.advs::field.pending_message_4') }}</p>
|
||||||
|
<p class="text-dark">{{ trans('visiosoft.module.advs::field.pending_message_5') }}</p>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Loading…
Reference in New Issue
Block a user