瀏覽代碼

titulo arriba en post

edgar 8 年之前
父節點
當前提交
95a5f96efb
共有 1 個文件被更改,包括 15 次插入9 次删除
  1. 15 9
      views/s_latest_posts.xml

+ 15 - 9
views/s_latest_posts.xml

@@ -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>