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