Merge pull request #178 from openclassify/base-vedat

#553 Upgrades for Bootstrap 4 and Add Block module (store-module)
This commit is contained in:
spektra2147 2019-12-19 10:39:02 +03:00 committed by GitHub
commit 2cee582073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 4 deletions

View File

@ -15,10 +15,25 @@ OpenClassify is the extensible and most advanced open source classified app buil
{{ 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
{{ addBlock('profile/navigation')|raw }}
- advs-module/new-ad/new-create
{{ addBlock('new-ad/fields')|raw }}
## Server Requirements

View File

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