Merge branch 'ofaj' of github.com:chamilo/chamilo-lms into ofaj

ofaj
Yannick Warnier 9 years ago
commit 10f67f9453
  1. 2
      src/Chamilo/PageBundle/Resources/views/blocks.html.twig
  2. 2
      src/Chamilo/PageBundle/Resources/views/latest.html.twig

@ -4,7 +4,7 @@
<div class="col-md-3"> <div class="col-md-3">
{{ sonata_page_render_container('header', page) }} {{ sonata_page_render_container('header', page) }}
<h4 class="title"> <h4 class="title">
<a href="{{ url(page.routeName, {'path' : page.site.relativePath ~ page.url}) }}"> <a href="{{ url(page.routeName, {'path' : page.site.relativePath ~ page.url, '_locale' : app.request.getLocale() }) }}">
{{ page.title }} {{ page.title }}
</a> </a>
</h4> </h4>

@ -6,7 +6,7 @@
<div class="items"> <div class="items">
<div class="description"> <div class="description">
<h2 class="title"> <h2 class="title">
<a href="{{ url(page.routeName, {'path' : page.site.relativePath ~ page.url }) }}">{{ page.name }}</a> <a href="{{ url(page.routeName, {'path' : page.site.relativePath ~ page.url, '_locale' : app.request.getLocale() }) }}">{{ page.name }}</a>
</h2> </h2>
<div class="date"> <div class="date">
<i class="fa fa-calendar" aria-hidden="true"></i> <i class="fa fa-calendar" aria-hidden="true"></i>

Loading…
Cancel
Save