mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#3553 Ad post contact - Options Design
This commit is contained in:
parent
acd8334eb1
commit
6f3a3d783e
@ -484,6 +484,10 @@ class AdvsController extends PublicController
|
||||
}
|
||||
}
|
||||
|
||||
if (\request()->page) {
|
||||
$metaTitle .= ($metaTitle ? " | " : "") . \request()->page;
|
||||
}
|
||||
|
||||
$this->template->set('showTitle', $showTitle);
|
||||
$this->template->set('meta_title', $metaTitle);
|
||||
|
||||
@ -672,8 +676,6 @@ class AdvsController extends PublicController
|
||||
}
|
||||
}
|
||||
|
||||
$options = $this->optionRepository->findAllBy('adv_id', $id);
|
||||
|
||||
$features = array();
|
||||
if ($this->adv_model->is_enabled('customfields')) {
|
||||
$features = app('Visiosoft\CustomfieldsModule\Http\Controller\CustomFieldsController')->view($adv);
|
||||
@ -681,6 +683,8 @@ class AdvsController extends PublicController
|
||||
|
||||
$isActiveDopings = $this->adv_model->is_enabled('dopings');
|
||||
|
||||
$this->template->set('meta_title', trans('visiosoft.module.advs::field.preview') . " $adv->name" . ' ' . setting_value('streams::domain'));
|
||||
|
||||
return $this->view->make('visiosoft.module.advs::new-ad/preview/preview',
|
||||
compact('adv', 'categories', 'features', 'isActiveDopings'));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user