Merge branch '1.1' of https://github.com/merdiano/orient-site into 1.1
This commit is contained in:
commit
f85bc2f059
|
|
@ -13,9 +13,12 @@
|
|||
</button>
|
||||
<div class="partnerSlider__inner">
|
||||
{% for reklama in __SELF__.group.adds %}
|
||||
<a class="partnerSlider__item" {% if reklama.enable_stats and reklama.url !="#" %}
|
||||
data-request="{{__SELF__}}::onRedirect" data-request-data='[{id:{{reklama.id}}},{url:"{{reklama.url}}"}]' {%
|
||||
endif %}>
|
||||
<a class="partnerSlider__item" {% if reklama.enable_stats and reklama.url %}
|
||||
data-request="{{__SELF__}}::onRedirect" data-request-data='[{id:{{reklama.id}}},{url:"{{reklama.url}}"}]'
|
||||
{% else %}
|
||||
href="{{reklama.url|'#'}}" target="_blank"
|
||||
{% endif %}
|
||||
>
|
||||
<img src="{{reklama.media|media_cdn}}" alt="{{reklama.title}}">
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
@ -121,4 +124,4 @@
|
|||
// ================================================
|
||||
</script>
|
||||
{% endput %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -2,9 +2,11 @@
|
|||
<div class="advertisiment_{{__SELF__}}">
|
||||
{% for reklama in __SELF__.group.adds %}
|
||||
<a class="advertisiment__item"
|
||||
{% if reklama.enable_stats and reklama.url !="#" %}
|
||||
{% if reklama.enable_stats and reklama.url %}
|
||||
data-request="{{__SELF__}}::onRedirect"
|
||||
data-request-data = '[{id:{{reklama.id}}},{url:"{{reklama.url}}"}]'
|
||||
{% else %}
|
||||
href="{{reklama.url|'#'}}" target="_blank"
|
||||
{% endif %}
|
||||
>
|
||||
<img src="{{reklama.media|media_cdn}}" alt="{{reklama.title}}">
|
||||
|
|
|
|||
Loading…
Reference in New Issue