summaryrefslogtreecommitdiff
path: root/addons/website_slides/static/src/xml/slide_course_join.xml
blob: 0241915c190f4a25f01735ca9e2327efb820b73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<templates>
    <t t-name="slide.course.join">
        <div>
            <a role="button"
                class="btn btn-primary o_wslides_js_course_join_link text-uppercase font-weight-bold"
                title="Join the Course" aria-label="Join the Course"
                href="#">
                <t t-if="widget.channel.channelEnroll == 'public'">
                    <t t-if="widget.publicUser">
                        Sign in
                    </t>
                    <t t-else="" t-esc="widget.joinMessage" />
                </t>
            </a>
        </div>
    </t>

    <t t-name="slide.course.join.request">
        <div>
            <p>Do you want to request access to this course ?</p>
        </div>
    </t>
</templates>