From 824e0686ac45f3869e2532f32e22e38dc06d514f Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 1 May 2021 18:18:45 +0500 Subject: [PATCH] component css class --- plugins/tps/reklama/components/advertisement/single.htm | 2 +- themes/modern/pages/index.htm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tps/reklama/components/advertisement/single.htm b/plugins/tps/reklama/components/advertisement/single.htm index 6790f10ac..7e448c561 100644 --- a/plugins/tps/reklama/components/advertisement/single.htm +++ b/plugins/tps/reklama/components/advertisement/single.htm @@ -9,7 +9,7 @@ target="_blank" {% endif %} {% endif %} - class="{{class}}" + class="{{__SELF__.property('css_class')}}" > {{reklama.title}} diff --git a/themes/modern/pages/index.htm b/themes/modern/pages/index.htm index 306c50ec9..9d791741f 100644 --- a/themes/modern/pages/index.htm +++ b/themes/modern/pages/index.htm @@ -119,7 +119,7 @@ random = 0
ИНТЕРЕСНЫЕ ССЫЛКИ
- {% component 'right_top' class = 'primary progressive replace' %} + {% component 'right_top' css_class = 'primary progressive replace' %} {% component 'right_middle' %} {% component 'right_bottom' %} {% partial 'tags' %}