reklamalar single href
This commit is contained in:
parent
8cba20a907
commit
8ac9fd5368
|
|
@ -1,9 +1,14 @@
|
|||
{% set reklama = group.adds.first %}
|
||||
<a
|
||||
{% if reklama.enable_stats and reklama.url !="#" %}
|
||||
data-request="{{__SELF__}}::onRedirect"
|
||||
data-request-data = '[{id:{{reklama.id}}},{url:"{{reklama.url}}"}]'
|
||||
{% if reklama.url %}
|
||||
{% if reklama.enable_stats %}
|
||||
data-request="{{__SELF__}}::onRedirect"
|
||||
data-request-data = '[{id:{{reklama.id}}},{url:"{{reklama.url}}"}]'
|
||||
{% else %}
|
||||
href="{{reklama.url}}"
|
||||
target="_blank"
|
||||
{% endif %}
|
||||
class="{{class}}"
|
||||
>
|
||||
<img src="{{reklama.media|media_cdn}}" alt="{{reklama.title}}">
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -119,10 +119,9 @@ random = 0
|
|||
<div class="main__sidebar-title">
|
||||
ИНТЕРЕСНЫЕ ССЫЛКИ
|
||||
</div>
|
||||
{% component 'right_top' %}
|
||||
{% component 'right_top' class = 'primary progressive replace' %}
|
||||
{% component 'right_middle' %}
|
||||
{% component 'right_bottom' %}
|
||||
|
||||
{% partial 'tags' %}
|
||||
{% partial 'calendar' %}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue