This commit is contained in:
Meylis Gazakow 2022-05-18 14:38:44 +03:00
commit 87dc4413cd
7 changed files with 22 additions and 11 deletions

View File

@ -2,9 +2,9 @@
<div class="advert"> <div class="advert">
{% for item in slider.slide_items %} {% for item in slider.slide_items %}
<div class="advert_item"> <a href="{{ item.link ? item.link : '#' }}" class="advert_item">
<img src="{{ item.slide_img|media }}" alt=""> <img src="{{ item.slide_img|media }}" alt="">
</div> </a>
{% endfor %} {% endfor %}
</div> </div>

View File

@ -6,21 +6,21 @@
<div class="slider_item"> <div class="slider_item">
<div class="slider_content"> <div class="slider_content">
{% if lng == 'ru' %} {% if lng == 'ru' %}
<div class="slider_title"> <a href="{{ item.link ? item.link : '#' }}" class="slider_title">
{{ item.slide_title_ru }} {{ item.slide_title_ru }}
</div> </a>
{% endif %} {% endif %}
{% if lng == 'en' %} {% if lng == 'en' %}
<div class="slider_title"> <a href="{{ item.link ? item.link : '#' }}" class="slider_title">
{{ item.slide_title_en }} {{ item.slide_title_en }}
</div> </a>
{% endif %} {% endif %}
{% if lng == 'tm' %} {% if lng == 'tm' %}
<div class="slider_title"> <a href="{{ item.link ? item.link : '#' }}" class="slider_title">
{{ item.slide_title_tm }} {{ item.slide_title_tm }}
</div> </a>
{% endif %} {% endif %}
</div> </div>

View File

@ -46,3 +46,7 @@ fields:
label: 'Display time' label: 'Display time'
span: auto span: auto
type: number type: number
link:
label: Link
span: auto
type: text

View File

@ -1732,6 +1732,7 @@ li {
height: 540px; height: 540px;
position: relative; position: relative;
display: block !important; display: block !important;
display: block;
} }
/* .slider_item-img::before { /* .slider_item-img::before {
@ -1784,6 +1785,7 @@ li {
font-size: 18px; font-size: 18px;
font-weight: 700; font-weight: 700;
line-height: 1.4; line-height: 1.4;
color: #fff;
/* margin-bottom: 20px; */ /* margin-bottom: 20px; */
text-overflow: ellipsis; text-overflow: ellipsis;
@ -1794,6 +1796,10 @@ li {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.slider_title:hover {
text-decoration: underline;
}
.slider_text { .slider_text {
font-size: var(--text-20); font-size: var(--text-20);
font-weight: 400; font-weight: 400;
@ -1830,6 +1836,7 @@ li {
width: 100%; width: 100%;
width: 380px !important; width: 380px !important;
height: 540px; height: 540px;
display: block;
/* height: auto; */ /* height: auto; */
/* max-height: 480px; */ /* max-height: 480px; */
} }

View File

@ -1,7 +1,7 @@
[viewBag] [viewBag]
title = "How to place an ad" title = "How to place an ad"
== ==
<p>Placing ads on the State Commodity and Raw Materials Exchange of Turkmenistan website is a paid service. The cost of one publication is 100 manats.</p> <p>Placing ads on the State Commodity and Raw Materials Exchange of Turkmenistan website is a paid service. The cost of one publication is 5 manats.</p>
<p>To place an ad to the site:</p> <p>To place an ad to the site:</p>

View File

@ -1,7 +1,7 @@
[viewBag] [viewBag]
title = "Как добавить объявление" title = "Как добавить объявление"
== ==
<p>Все объявления на сайте ГТСБТ размещаются платно. Стоимость одной публикации 100 манат.</p> <p>Все объявления на сайте ГТСБТ размещаются платно. Стоимость одной публикации 5 манат.</p>
<p>Чтобы добавить объявление на сайт, продавцу необходимо:</p> <p>Чтобы добавить объявление на сайт, продавцу необходимо:</p>

View File

@ -5,7 +5,7 @@ layout = "default"
is_hidden = 0 is_hidden = 0
navigation_hidden = 0 navigation_hidden = 0
== ==
<p>TDHÇMB sahypasynda ähli bildirişler tölegli ýerleşdirilýär. Bir neşiriň bahasy - 100 manat.</p> <p>TDHÇMB sahypasynda ähli bildirişler tölegli ýerleşdirilýär. Bir neşiriň bahasy - 5 manat.</p>
<p>Sahypa bildiriş goşmak üçin satyja zerur:</p> <p>Sahypa bildiriş goşmak üçin satyja zerur:</p>