FIX
parent
b2aeebfa6f
commit
25bec55f4f
|
|
@ -22,76 +22,7 @@
|
|||
<attribute name="class">lb_name</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="clarico_blog_blog_post_short" inherit_id="website_blog.blog_post_short">
|
||||
<xpath expr="//t/div[@class='container'][1]" position="attributes">
|
||||
<attribute name="class">block</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@class='oe_structure']/section/div[@class='container']"
|
||||
position="attributes">
|
||||
<attribute name="class">block</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//t/div[4]" position="attributes">
|
||||
<attribute name="class">block blog_main</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//t/div[4]/div[hasclass('row')]" position="attributes">
|
||||
<attribute name="class">sub-blog_main</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='main_column']" position="attributes">
|
||||
<attribute name="class">blogpost_left_main</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//h1[@t-field='blog.name']" position="attributes">
|
||||
<attribute name="class">catg_title_main_blog ch_h1_class ch_h1_class_new
|
||||
</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//h3[@t-field='blog.subtitle']" position="attributes">
|
||||
<attribute name="class">ctg_subtitle_main</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@name='blog_post']/div[@class='text-muted']"
|
||||
position="replace">
|
||||
<div class="blog_post_data_more">
|
||||
<t t-foreach="blog_post.tag_ids" t-as="one_tag">
|
||||
<a class="blog_post_tabs_a"
|
||||
t-attf-href="#{blog_url(tag=one_tag.id, date_begin=False, date_end=False)}"
|
||||
t-esc="one_tag.name" />
|
||||
</t>
|
||||
<span class="seprater">-</span>
|
||||
<span class="blog_post_date" t-field="blog_post.post_date"
|
||||
t-options='{"format": "MMMM, yyyy"}' />
|
||||
|
||||
<span class="seprater">-</span>
|
||||
<span class="blog_post_author-static">
|
||||
By
|
||||
<span class="blog_post_author" t-field="blog_post.author_id"
|
||||
style="display: inline-block;"
|
||||
t-options='{
|
||||
"widget": "contact",
|
||||
"fields": ["name"]
|
||||
}' />
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="blog-post-subtitle-div">
|
||||
<!-- <p t-field="blog_post.subtitle" class="blog-post-subtitle">Untitled
|
||||
Post</p> -->
|
||||
<p t-field="blog_post.teaser" class="blog-post-subtitle o_blog_post_teaser" />
|
||||
</div>
|
||||
<div class="o_sharing_links social-icons">
|
||||
<a class="o_twitter">
|
||||
<i class="fa fa-twitter"></i>
|
||||
</a>
|
||||
<a class="o_facebook">
|
||||
<i class="fa fa-facebook"></i>
|
||||
</a>
|
||||
<a class="o_linkedin">
|
||||
<i class="fa fa-linkedin"></i>
|
||||
</a>
|
||||
<a class="o_google">
|
||||
<i class="fa fa-google-plus"></i>
|
||||
</a>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
<template id="clarico_blogs_post_complete" inherit_id="website_blog.blog_post_complete">
|
||||
<xpath expr="//p[2][@class='post-meta text-muted text-center']"
|
||||
|
|
|
|||
Loading…
Reference in New Issue