[IMP] website_blog: more generic xpath expression when inheriting view. ease migration.

This commit is contained in:
Christophe Simonis 2014-09-11 13:18:22 +02:00
parent 1db9915891
commit 980d23f98b
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@
<!-- Option: Blog Post List: show tags -->
<template id="opt_blog_post_short_tags" name="Tags"
customize_show="True" inherit_id="website_blog.blog_post_short">
<xpath expr="//div[@name='blog_post_data']" position="inside">
<xpath expr="//*[@name='blog_post_data']" position="inside">
<p class="post-meta text-muted text-center" t-if="len(blog_post.tag_ids)">
<span class="fa fa-tags"/>
<t t-foreach="blog_post.tag_ids" t-as="tag">