Debian Codegraph @

addons/website_event_track_live_quiz/views/event_track_templates_page.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3
4 <template id="event_track_content"
5 name="Main Description: tweak quiz"
6 inherit_id="website_event_track_quiz.event_track_content">
7 <xpath expr="//div[hasclass('o_we_track_quiz_button')]" position="attributes">
8 <attribute name="t-if">track.quiz_id and not track.is_quiz_completed and not track.is_track_upcoming and (not track.is_track_live or track.is_youtube_replay or not track.youtube_video_id)</attribute>
9 </xpath>
10 </template>
11
12 </odoo>