root před 8 roky
rodič
revize
f9bed08254
1 změnil soubory, kde provedl 5 přidání a 28 odebrání
  1. 5 28
      views/s_latest_posts.xml

+ 5 - 28
views/s_latest_posts.xml

@@ -60,41 +60,18 @@
       <t t-as="p" t-foreach="posts">
         <figure class="loading_container col-sm-6 ">
           <div class="content">
+            <a t-att-href="'/blog/%s/post/%s' % (p.blog_id.id, p.id)">
             <h2 class="blog_big_pname pull-left" t-field="p.name"/>
+          </a>
             <p class="pull-left textoautor">
-              <strong>Por 
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                <span t-field="p.author_id"/>
-                el 
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                <span t-field="p.create_date" t-field-options="{&quot;format&quot;: &quot;dd 'de' MMMM 'de' yyyy&quot;}"/></strong>
+              <strong>Por <span t-field="p.author_id"/>
+                el<span t-field="p.create_date" t-field-options="{&quot;format&quot;: &quot;dd 'de' MMMM 'de' yyyy&quot;}"/></strong>
               <br/>
               <span>En 
                 
                 
                 
+                
                 <span class="fa fa-folder-open"/>
                 <a t-att-href="'/blog/%s' % (p.blog_id.id)">
                   <span t-field="p.blog_id"/></a>