|
@@ -62,22 +62,28 @@
|
|
|
</template>
|
|
|
|
|
|
<template id="s_latest_posts_big_picture_template">
|
|
|
+
|
|
|
<t t-if="not posts">
|
|
|
<t t-call="snippet_latest_posts.no_blog_posts"/>
|
|
|
</t>
|
|
|
<t t-foreach="posts" t-as="p">
|
|
|
- <figure class="loading_container col-sm-6">
|
|
|
- <div class="content">
|
|
|
- <div class="thumb" t-att-style="'background-image: url(%s)' % p.background_image" />
|
|
|
- <figcaption>
|
|
|
- <h2 t-field="p.name" />
|
|
|
- <p t-field="p.subtitle"/>
|
|
|
- <a t-att-href="'/blog/%s/post/%s' % (p.blog_id.id, p.id)">Ver Más</a>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <figure class="loading_container col-sm-6 cargarimagen">
|
|
|
+ <div class="content basebloguno">
|
|
|
+ <div class="thumb imagen_blog" t-att-style="'background-image: url(%s)' % p.background_image" />
|
|
|
+ <figcaption class="subblogtitulo">
|
|
|
+ <a t-att-href="'/blog/%s/post/%s' % (p.blog_id.id, p.id)"><h2 class="blog_big_pname" t-field="p.name" /></a>
|
|
|
+ <!-- <p t-field="p.subtitle"/> -->
|
|
|
+ <!-- <a t-att-href="'/blog/%s/post/%s' % (p.blog_id.id, p.id)">Ver Más</a> -->
|
|
|
</figcaption>
|
|
|
</div>
|
|
|
</figure>
|
|
|
</t>
|
|
|
- </template>
|
|
|
+
|
|
|
+</template>
|
|
|
|
|
|
</data>
|
|
|
-</openerp>
|
|
|
+</openerp>
|