mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#543 Upgrades for Bootstrap 4 and Add Block module (Dopings Module)
This commit is contained in:
parent
9507df1cc4
commit
d379c96a99
@ -7,6 +7,15 @@ OpenClassify is the extensible and most advanced open source classified app buil
|
||||
[](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
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
{% if app.auth.id == adv.created_by_id %}
|
||||
<div class="breadcrumb bg-dark justify-content-end">
|
||||
{{ addBlock('ad-detail/partials/author-button', {'adv_id': adv.id})|raw }}
|
||||
<a class="btn btn-info edit-adv-btn mr-2" href="/advs/edit_advs/{{ adv.id }}">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
<font>{{ trans('visiosoft.module.advs::field.edit') }}</font>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
{{ addBlock('ad-list/partials/ads',{'featured_advs':featured_advs})|raw }}
|
||||
{% for adv in advs %}
|
||||
<div class="col-md-12 mb-2 list-ads">
|
||||
<a href="{{ adv.detail_url }}" class="text-dark">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user