#1 Adding and fixing the demo ad images (make it local)

This commit is contained in:
Diatrex 2019-11-15 10:58:25 +03:00
parent 9efb52cc49
commit 19e76d4111
3 changed files with 5 additions and 3 deletions

View File

@ -152,7 +152,7 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
public function popularAdvs() public function popularAdvs()
{ {
return $this->getAdv()->where('popular_adv', 1)->paginate(9); return $this->getAdv()->where('popular_adv', 1)->paginate(2);
} }
public function advsofDay() public function advsofDay()

View File

@ -21,8 +21,8 @@ return [
's-type-latest-limit' => [ 's-type-latest-limit' => [
'type' => 'anomaly.field_type.integer', 'type' => 'anomaly.field_type.integer',
'config' => [ 'config' => [
'default_value' => 36, 'default_value' => 5,
'min' => 12, 'min' => 5,
], ],
], ],
's-type-showcase-limit' => [ 's-type-showcase-limit' => [

View File

@ -246,6 +246,7 @@
</div><!-- item-info --> </div><!-- item-info -->
</div><!-- ad-item --> </div><!-- ad-item -->
{% endfor %} {% endfor %}
{{ latest_advs.links | raw }}
</div><!-- tab-pane --> </div><!-- tab-pane -->
<!-- tab-pane --> <!-- tab-pane -->
@ -314,6 +315,7 @@
</div><!-- item-info --> </div><!-- item-info -->
</div><!-- ad-item --> </div><!-- ad-item -->
{% endfor %} {% endfor %}
{{ popular_advs.links | raw }}
</div><!-- tab-pane --> </div><!-- tab-pane -->
</div> </div>
</div><!-- trending-ads --> </div><!-- trending-ads -->