Browse Source

tags

dev-rcn
root 3 years ago
parent
commit
c3cc0f942b
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      views/event_templates_list.xml

+ 7
- 1
views/event_templates_list.xml View File

@ -57,7 +57,7 @@
<a t-if="tag.color" <a t-if="tag.color"
t-att-href="'/event?tags='+tag.name" t-att-href="'/event?tags='+tag.name"
t-attf-class="dropdown-item d-flex align-items-center justify-content-between #{'active' if tag in search_tags else ''}"> t-attf-class="dropdown-item d-flex align-items-center justify-content-between #{'active' if tag in search_tags else ''}">
<t t-esc="category.name+':'+tag.name"/>
<t t-esc="tag.name"/>
</a> </a>
</t> </t>
</t> </t>
@ -67,6 +67,12 @@
</xpath> </xpath>
</template> </template>
<template id="kalachakra.searched_tags" inherit_id="website_event.searched_tags" active="True" customize_show="True" name="Searched tags">
<xpath expr="//t[@t-esc='tag.display_name']" position="replace">
<t t-esc="tag.name"/>
</xpath>
</template>
<template id="kalachakra.events_list" inherit_id="website_event.events_list"> <template id="kalachakra.events_list" inherit_id="website_event.events_list">
<xpath expr="//h5[1]" position="replace"> <xpath expr="//h5[1]" position="replace">


Loading…
Cancel
Save