diff --git a/addons/default/visiosoft/advs-module/resources/css/preview.css b/addons/default/visiosoft/advs-module/resources/css/preview.css new file mode 100644 index 000000000..b9099b3b9 --- /dev/null +++ b/addons/default/visiosoft/advs-module/resources/css/preview.css @@ -0,0 +1,63 @@ +.preview-wrapper { + border: 4px solid #999; +} +.preview-wrapper:before, .preview-wrapper:after { + content: ''; + position: absolute; + left: 50%; + top: -30px; + width: 0; + height: 0; + border-style: solid; + border-width: 0 39px 30px 39px; + border-color: transparent transparent #999 transparent; + margin-left: -39px; +} +.preview-wrapper:after { + top: inherit; + bottom: -30px; + border-width: 30px 39px 0 39px; + border-color: #999 transparent transparent transparent; +} +.preview-overlay { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + opacity: .07; + background-color: #000; + z-index: 400; +} +.preview-paragraph { + font-size: 15px; + font-weight: bold; + text-align: center; +} +.preview-actions { + margin-top: 3em; + margin-bottom: 4em; +} +.preview-edit { + color: #438ed8; + background: #f7f7f7; + border: 1px solid #f7f7f7; +} +.preview-edit:hover { + background: #eaeaea; + border-color: #eaeaea; + color: #438ed8; +} +.preview-continue { + border-radius: 2px; + color: #fff; + background: #438ed8; +} +.preview-continue:hover { + background: #3c7fc1; + border-color: #3c7fc1; + color: #fff; +} +#compare-sidebar, .dropleft-edit { + display: none; +} \ No newline at end of file diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/button.php b/addons/default/visiosoft/advs-module/resources/lang/en/button.php index 4779817a1..a398fa976 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/button.php @@ -13,6 +13,7 @@ return [ 'decline' => 'Decline', 'extend' => 'Extend', 'extend_all' => 'Extend All', + 'convert_currency' => 'Convert Currency', 'categories' => 'Categories', 'sub_category' => 'Sub Categories', 'add_sub_category' => 'Add Sub Category', diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/field.php b/addons/default/visiosoft/advs-module/resources/lang/en/field.php index 771236d5a..28f352576 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/field.php @@ -270,5 +270,11 @@ return [ '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' + 'hours' => 'hours', + + // Preview page + 'preview_text' => [ + 'part_1' => 'If the following information about your ad is correct, click the "Continue" button and go to the next step.', + 'part_2' => 'If not, click the "Edit" button.', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/message.php b/addons/default/visiosoft/advs-module/resources/lang/en/message.php index d3a67fb0a..3059a052d 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/message.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/message.php @@ -28,4 +28,5 @@ return [ 'pending_ad_status' => 'Your ad is pending approval by the Editor.', 'extended' => ':number ad(s) has been extended successfully.', 'category_not_exist' => 'This category does not exist anymore!', + 'currency_converted' => 'Currency Converted Successfully.', ]; diff --git a/addons/default/visiosoft/advs-module/resources/views/list/partials/breadcrumb.twig b/addons/default/visiosoft/advs-module/resources/views/list/partials/breadcrumb.twig index aff044bb2..abc2f4382 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/partials/breadcrumb.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/partials/breadcrumb.twig @@ -12,7 +12,7 @@ - {{ addBlock('ads-list/partials/breadcrumb',{'mainCats':mainCats})|raw }} + {{ addBlock('ads-list/partials/breadcrumb',{'mainCats': mainCats, 'category': categoryId})|raw }} \ No newline at end of file diff --git a/addons/default/visiosoft/advs-module/resources/views/new-ad/preview/partials/preview-window.twig b/addons/default/visiosoft/advs-module/resources/views/new-ad/preview/partials/preview-window.twig new file mode 100644 index 000000000..70ca67e5d --- /dev/null +++ b/addons/default/visiosoft/advs-module/resources/views/new-ad/preview/partials/preview-window.twig @@ -0,0 +1,33 @@ +{% if setting_value('visiosoft.theme.base::breadcrumbs') %} + + {% include "visiosoft.module.advs::ad-detail/partials/breadcrumb" %} + +{% endif %} +
+ {{ trans('visiosoft.module.advs::field.preview_text.part_1') }}
+
+ {{ trans('visiosoft.module.advs::field.preview_text.part_2') }}
+