|
|
|
@ -1,172 +1,19 @@ |
|
|
|
{% extends 'base.html' %} |
|
|
|
{% extends 'common_news.html' %} |
|
|
|
{% block content %} |
|
|
|
{% block content %} |
|
|
|
<div class="content__title">Новости</div> |
|
|
|
<div class="content__title">{{ object.title }}</div> |
|
|
|
<div class="news"> |
|
|
|
<div class="news"> |
|
|
|
<div class="news__item"> |
|
|
|
<div class="news__item"> |
|
|
|
<div class="row"> |
|
|
|
<div class="row"> |
|
|
|
|
|
|
|
{% if object.image_set.primary_image %} |
|
|
|
<div class="col-md-4 col-12"> |
|
|
|
<div class="col-md-4 col-12"> |
|
|
|
<div class="news__image"><img src="./img/test-b.png" alt=""></div> |
|
|
|
<div class="news__image"><img src="{{ object.image_set.primary_image.url }}" |
|
|
|
|
|
|
|
alt="{{ object.title }}"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
<div class="col-lg-6 col-md-8 col-12"> |
|
|
|
<div class="col-lg-6 col-md-8 col-12"> |
|
|
|
<div class="news__content"> |
|
|
|
<div class="news__content"> |
|
|
|
<div class="news__title"><a href="#">Новость 1</a></div> |
|
|
|
|
|
|
|
<div class="news__text"> |
|
|
|
<div class="news__text"> |
|
|
|
<p>It is a long established fact that a reader will be distracted by the |
|
|
|
<p>{{ object.description }}</p> |
|
|
|
readable |
|
|
|
|
|
|
|
content of a page when looking at its layout. The point of using Lorem |
|
|
|
|
|
|
|
Ipsum is |
|
|
|
|
|
|
|
that |
|
|
|
|
|
|
|
it has a more-or-less normal distribution of letters, as opposed to |
|
|
|
|
|
|
|
using |
|
|
|
|
|
|
|
'Content |
|
|
|
|
|
|
|
here, content here', making it look like readable English. Many desktop |
|
|
|
|
|
|
|
publishing |
|
|
|
|
|
|
|
packages and web page editors now use Lorem Ipsum as their default model |
|
|
|
|
|
|
|
text, |
|
|
|
|
|
|
|
and a |
|
|
|
|
|
|
|
search for 'lorem ipsum' will uncover many web sites still in their |
|
|
|
|
|
|
|
infancy. |
|
|
|
|
|
|
|
Various |
|
|
|
|
|
|
|
versions have evolved over the years, sometimes by accident, sometimes |
|
|
|
|
|
|
|
on |
|
|
|
|
|
|
|
purpose |
|
|
|
|
|
|
|
(injected humour and the like).</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news__item"> |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
|
|
|
|
<div class="col-md-4 col-12"> |
|
|
|
|
|
|
|
<div class="news__image"><img src="./img/test-b.png" alt=""></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-lg-6 col-md-8 col-12"> |
|
|
|
|
|
|
|
<div class="news__content"> |
|
|
|
|
|
|
|
<div class="news__title"><a href="#">Новость 1</a></div> |
|
|
|
|
|
|
|
<div class="news__text"> |
|
|
|
|
|
|
|
<p>It is a long established fact that a reader will be distracted by the |
|
|
|
|
|
|
|
readable |
|
|
|
|
|
|
|
content of a page when looking at its layout. The point of using Lorem |
|
|
|
|
|
|
|
Ipsum is |
|
|
|
|
|
|
|
that |
|
|
|
|
|
|
|
it has a more-or-less normal distribution of letters, as opposed to |
|
|
|
|
|
|
|
using |
|
|
|
|
|
|
|
'Content |
|
|
|
|
|
|
|
here, content here', making it look like readable English. Many desktop |
|
|
|
|
|
|
|
publishing |
|
|
|
|
|
|
|
packages and web page editors now use Lorem Ipsum as their default model |
|
|
|
|
|
|
|
text, |
|
|
|
|
|
|
|
and a |
|
|
|
|
|
|
|
search for 'lorem ipsum' will uncover many web sites still in their |
|
|
|
|
|
|
|
infancy. |
|
|
|
|
|
|
|
Various |
|
|
|
|
|
|
|
versions have evolved over the years, sometimes by accident, sometimes |
|
|
|
|
|
|
|
on |
|
|
|
|
|
|
|
purpose |
|
|
|
|
|
|
|
(injected humour and the like).</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news__item"> |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
|
|
|
|
<div class="col-md-4 col-12"> |
|
|
|
|
|
|
|
<div class="news__image"><img src="./img/test-b.png" alt=""></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-lg-6 col-md-8 col-12"> |
|
|
|
|
|
|
|
<div class="news__content"> |
|
|
|
|
|
|
|
<div class="news__title"><a href="#">Новость 1</a></div> |
|
|
|
|
|
|
|
<div class="news__text"> |
|
|
|
|
|
|
|
<p>It is a long established fact that a reader will be distracted by the |
|
|
|
|
|
|
|
readable |
|
|
|
|
|
|
|
content of a page when looking at its layout. The point of using Lorem |
|
|
|
|
|
|
|
Ipsum is |
|
|
|
|
|
|
|
that |
|
|
|
|
|
|
|
it has a more-or-less normal distribution of letters, as opposed to |
|
|
|
|
|
|
|
using |
|
|
|
|
|
|
|
'Content |
|
|
|
|
|
|
|
here, content here', making it look like readable English. Many desktop |
|
|
|
|
|
|
|
publishing |
|
|
|
|
|
|
|
packages and web page editors now use Lorem Ipsum as their default model |
|
|
|
|
|
|
|
text, |
|
|
|
|
|
|
|
and a |
|
|
|
|
|
|
|
search for 'lorem ipsum' will uncover many web sites still in their |
|
|
|
|
|
|
|
infancy. |
|
|
|
|
|
|
|
Various |
|
|
|
|
|
|
|
versions have evolved over the years, sometimes by accident, sometimes |
|
|
|
|
|
|
|
on |
|
|
|
|
|
|
|
purpose |
|
|
|
|
|
|
|
(injected humour and the like).</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news__item"> |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
|
|
|
|
<div class="col-md-4 col-12"> |
|
|
|
|
|
|
|
<div class="news__image"><img src="./img/test-b.png" alt=""></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-lg-6 col-md-8 col-12"> |
|
|
|
|
|
|
|
<div class="news__content"> |
|
|
|
|
|
|
|
<div class="news__title"><a href="#">Новость 1</a></div> |
|
|
|
|
|
|
|
<div class="news__text"> |
|
|
|
|
|
|
|
<p>It is a long established fact that a reader will be distracted by the |
|
|
|
|
|
|
|
readable |
|
|
|
|
|
|
|
content of a page when looking at its layout. The point of using Lorem |
|
|
|
|
|
|
|
Ipsum is |
|
|
|
|
|
|
|
that |
|
|
|
|
|
|
|
it has a more-or-less normal distribution of letters, as opposed to |
|
|
|
|
|
|
|
using |
|
|
|
|
|
|
|
'Content |
|
|
|
|
|
|
|
here, content here', making it look like readable English. Many desktop |
|
|
|
|
|
|
|
publishing |
|
|
|
|
|
|
|
packages and web page editors now use Lorem Ipsum as their default model |
|
|
|
|
|
|
|
text, |
|
|
|
|
|
|
|
and a |
|
|
|
|
|
|
|
search for 'lorem ipsum' will uncover many web sites still in their |
|
|
|
|
|
|
|
infancy. |
|
|
|
|
|
|
|
Various |
|
|
|
|
|
|
|
versions have evolved over the years, sometimes by accident, sometimes |
|
|
|
|
|
|
|
on |
|
|
|
|
|
|
|
purpose |
|
|
|
|
|
|
|
(injected humour and the like).</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="news__item"> |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
|
|
|
|
<div class="col-md-4 col-12"> |
|
|
|
|
|
|
|
<div class="news__image"><img src="./img/test-b.png" alt=""></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-lg-6 col-md-8 col-12"> |
|
|
|
|
|
|
|
<div class="news__content"> |
|
|
|
|
|
|
|
<div class="news__title"><a href="#">Новость 1</a></div> |
|
|
|
|
|
|
|
<div class="news__text"> |
|
|
|
|
|
|
|
<p>It is a long established fact that a reader will be distracted by the |
|
|
|
|
|
|
|
readable |
|
|
|
|
|
|
|
content of a page when looking at its layout. The point of using Lorem |
|
|
|
|
|
|
|
Ipsum is |
|
|
|
|
|
|
|
that |
|
|
|
|
|
|
|
it has a more-or-less normal distribution of letters, as opposed to |
|
|
|
|
|
|
|
using |
|
|
|
|
|
|
|
'Content |
|
|
|
|
|
|
|
here, content here', making it look like readable English. Many desktop |
|
|
|
|
|
|
|
publishing |
|
|
|
|
|
|
|
packages and web page editors now use Lorem Ipsum as their default model |
|
|
|
|
|
|
|
text, |
|
|
|
|
|
|
|
and a |
|
|
|
|
|
|
|
search for 'lorem ipsum' will uncover many web sites still in their |
|
|
|
|
|
|
|
infancy. |
|
|
|
|
|
|
|
Various |
|
|
|
|
|
|
|
versions have evolved over the years, sometimes by accident, sometimes |
|
|
|
|
|
|
|
on |
|
|
|
|
|
|
|
purpose |
|
|
|
|
|
|
|
(injected humour and the like).</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|