Merge branch 'basetheme' of https://github.com/openclassify/openclassify into basetheme

This commit is contained in:
vedatakd 2019-12-19 12:02:39 +03:00
commit 5aa51bf621
3 changed files with 17 additions and 4 deletions

View File

@ -15,11 +15,26 @@ OpenClassify is the extensible and most advanced open source classified app buil
{{ addBlock('ad-list/partials/ads',{'featured_advs':featured_advs})|raw }} {{ addBlock('ad-list/partials/ads',{'featured_advs':featured_advs})|raw }}
- profile-module/profile/partials/navigation
{{ addBlock('profile/navigation')|raw }}
- advs-module/ad-detail/partials/detail
{{ addBlock('ad-detail/seller/action',{'adv':adv})|raw }}
- advs-module/ad-detail/detail
{{ addBlock('ad-detail/title/action',{'adv':adv})|raw }}
- profile-module/profile/partials/navigation - profile-module/profile/partials/navigation
{{ addBlock('profile/navigation')|raw }} {{ addBlock('profile/navigation')|raw }}
- advs-module/new-ad/new-create
{{ addBlock('new-ad/fields')|raw }}
## Server Requirements ## Server Requirements
- PHP >= 7.2 - PHP >= 7.2

View File

@ -46,9 +46,7 @@
<div class="col-md-12"> <div class="col-md-12">
{{ nameField|raw }} {{ nameField|raw }}
</div> </div>
{% if entries('advs').isEnabled('store') %} {{ addBlock('new-ad/fields')|raw }}
{% include "visiosoft.module.store::field" %}
{% endif %}
<div style="display: none"> <div style="display: none">
{{ form.fields.slug|raw }} {{ form.fields.slug|raw }}
</div> </div>

View File

@ -1,3 +1,3 @@
$('.modal').on('show.bs.modal', function (e) { $('.remote').on('show.bs.modal', function (e) {
$(this).find('.modal-content').load(e.relatedTarget.href); $(this).find('.modal-content').load(e.relatedTarget.href);
}); });