updating the latest bloc to be presented as the course bloc -refs BT#15974

pull/3063/head^2
Nicolas Ducoulombier 6 years ago
parent 134e414cf4
commit cb5055482e
  1. 12
      src/Chamilo/PageBundle/Resources/views/latest.html.twig

@ -5,14 +5,14 @@
<div class="col-md-4">
<div class="items">
<div class="description">
<h2 class="title">
<a href="{{ url(page.routeName, {'path' : page.site.relativePath ~ page.url, '_locale' : app.request.getLocale() }) }}">{{ page.name }}</a>
</h2>
<div class="date">
{#<div class="date">
<i class="fa fa-calendar" aria-hidden="true"></i>
{{ page.createdAt | format_datetime }}
</div>
</div>#}
{{ sonata_page_render_container('image_preview', page) }}
<h2 class="title">
<a href="{{ url(page.routeName, {'path' : page.site.relativePath ~ page.url, '_locale' : app.request.getLocale() }) }}">{{ page.name }}</a>
</h2>
<p>
{{ page.metaDescription | nl2br }}
</p>
@ -21,4 +21,4 @@
</div>
{% endfor %}
</div>
</div>
</div>

Loading…
Cancel
Save