<div class="panel">
    <div class="panel-heading">
        <h3 class="panel-title">Последние новости</h3>
    </div>
    <div class="panel-body">
        <div class="timeline">

            <!-- Timeline header -->
            <div class="timeline-header">
                <div class="timeline-header-title bg-info">Сегодня</div>
            </div>

            {% if items|length > 0 %}
                {% for item in items %}
                    <div class="timeline-entry">
                        <div class="timeline-stat">
                            <div class="timeline-icon"><img src="/_diamond/diamond-cms/assets/nifty/img/thumbs/img1.jpg" alt="Image"></div>
                            <div class="timeline-time">{{ item.date }}</div>
                        </div>
                        <div class="timeline-label">
                            <p class="text-bold"><a href="#" class="text-danger">{{ item.title }}</a></p>
                            {{ item.desc }}
                        </div>
                    </div>
                {% endfor %}
            {% else %}
                нет новостей
            {% endif %}
        </div>
    </div>
</div>
