jmontoyaa 8 жил өмнө
parent
commit
b01ee6db5b

+ 1 - 1
src/Chamilo/PageBundle/Resources/views/blocks.html.twig

@@ -4,7 +4,7 @@
             <div class="col-md-3">
                 {{ sonata_page_render_container('header', page)  }}
                 <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 }}
                     </a>
                 </h4>

+ 1 - 1
src/Chamilo/PageBundle/Resources/views/latest.html.twig

@@ -6,7 +6,7 @@
             <div class="items">
                 <div class="description">
                     <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>
                     <div class="date">
                         <i class="fa fa-calendar" aria-hidden="true"></i>