Template source: website/news.html

{% extends "website/base.html" %}
{% load static website_tags kway_tags %}

{% block description %}{% ktrans "seo_description_news" %}{% endblock %}
{% block keywords %}{% ktrans "seo_keywords_news" %}{% endblock %}

{% block header %}
{{ block.super }}
{% endblock %}

{% block content %}
{{ block.super }}
        <div class="page-news">
        
            <div class="container-fluid">
                <header>
                    <div class="header-heading-wrapper">
                        <h1 class="heading">{% ktrans "news-title" default="Le novità Top Car:" %}</h1>
                    </div>
                </header>
            </div>
        
            <div class="container">
        
                <div class="row">
        
                    <div class="col-xs-12 col-sm-12 col-md-10 col-md-offset-1 col-lg-10 col-lg-offset-1 col-xl-10 col-xl-offset-1">
        
                        <!-- begin big text -->
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="heading-wrapper main">
                                    <!--<h1 class="title text-center">Il TOP nella distribuzione di ricambi auto.</h1>-->
                                    <p class="description-big text-center">{% ktrans "news-header-description" default="Operiamo in questo settore dal 1987, puntando fin dal primo giorno su affidabilità, formazione e innovazione. <br>Oggi, quasi trent'anni dopo, continuano ad essere queste le parole chiave alla base della nostra leadership nel mercato aftermarket." %}</p>
                                </div>
                            </div>
                        </div>
                        <!-- end big text -->
        
                        <div class="info-boxes-wrapper">
        
                            <!-- begin news -->
                            <div class="row">
                                <div class="col-xs-12 col-sm-6 col-md-7">
                                    <div class="info-box hollow comunicazioni-wrapper">
        
                                        <p class="heading">{% ktrans "news-comunicazioni-title" default="Comunicazioni" %}</p>
                                        <ul>
                                            {% for obj in comunicazioni %}
                                            <li>
                                                <p class="date">{{ obj.date|date:"d/m/Y" }}</p>
                                                <p class="title">{{ obj.title }}</p>
                                                <p class="description">{% if obj.image %}<img src="{{ obj.image.url }}" class="info-box-image"><br>{% endif %}{{ obj.abstract|linebreaksbr }}</p>
                                                {% if obj.link %}<a class="button" href="{{ obj.link }}" target="_blank">{% ktrans "news-comunicazioni-link" default="Visita" %}</a>{% endif %}
                                            </li>
                                            {% endfor %}
                                        </ul>
        
                                    </div>
                                </div>
                                <div class="col-xs-12 col-sm-6 col-md-5">
        
                                    <div class="row">
                                        <div class="col-xs-12 col-lg-12">
                                            <div class="info-box dark-grey press-wrapper">
        
                                                <p class="heading">{% ktrans "news-press-title" default="Press" %}</p>
                                                <ul>
                                                    {% for obj in press %}
                                                    <li>
                                                        <p class="date">{{ obj.date|date:"d/m/Y" }}</p>
                                                        <p class="title">{{ obj.title }}</p>
                                                        <hr/>
                                                        <p class="description">{{ obj.abstract|linebreaksbr }}</p>
                                                        {% if obj.attachment %}<a class="button" href="{{ obj.attachment.url }}" target="_blank">{% ktrans "news-press-download" default="Scarica" %}</a>{% endif %}
                                                    </li>
                                                    {% endfor %}
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
        
                                </div>
                            </div>
                            <!-- end news -->
        
                        </div>
        
                    </div>
        
                </div>
        
            </div>
        
        </div>
{% endblock %}

{% block footer %}
{{ block.super }}
{% endblock %}