From d379c96a99b8c7bee38bf6b083426c29902100ac Mon Sep 17 00:00:00 2001 From: Diatrex Date: Mon, 2 Dec 2019 18:09:38 +0300 Subject: [PATCH] #543 Upgrades for Bootstrap 4 and Add Block module (Dopings Module) --- README.md | 9 +++++++++ .../views/ad-detail/partials/author-button.twig | 1 + .../advs-module/resources/views/list/partials/ads.twig | 3 ++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 30ae8c0f1..bee3c842e 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,15 @@ OpenClassify is the extensible and most advanced open source classified app buil [![Code Intelligence Status](https://scrutinizer-ci.com/g/openclassify/openclassify/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence) # Installation +## Blocks +- advs-module/ad-detail/partials/author-button + + {{ addBlock('ad-detail/partials/author-button', {'adv_id': adv.id})|raw }} +- advs-module/list/partials/ads + + {{ addBlock('ad-list/partials/ads',{'featured_advs':featured_advs})|raw }} + + ## Server Requirements diff --git a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/author-button.twig b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/author-button.twig index 735280a34..457e70f18 100644 --- a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/author-button.twig +++ b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/author-button.twig @@ -1,5 +1,6 @@ {% if app.auth.id == adv.created_by_id %} -{% endfor %} +{% endfor %} \ No newline at end of file