summaryrefslogtreecommitdiff
path: root/addons/website_slides/views/website_slides_templates_course.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_slides/views/website_slides_templates_course.xml')
-rw-r--r--addons/website_slides/views/website_slides_templates_course.xml34
1 files changed, 17 insertions, 17 deletions
diff --git a/addons/website_slides/views/website_slides_templates_course.xml b/addons/website_slides/views/website_slides_templates_course.xml
index 38d6c513f40..e9ce3e7dbdb 100644
--- a/addons/website_slides/views/website_slides_templates_course.xml
+++ b/addons/website_slides/views/website_slides_templates_course.xml
@@ -132,7 +132,7 @@
<button role="button" class="btn text-white pl-0" title="Share Channel"
aria-label="Share Channel"
data-toggle="modal" t-att-data-target="'#slideChannelShareModal_%s' % channel.id">
- <i class="fa fa-share-square"></i> Share
+ <i class="fas fa-share-square"></i> Share
</button>
</div>
</div>
@@ -332,7 +332,7 @@
<button role="button" class="btn btn-link btn-block" title="Share Channel"
aria-label="Share Channel"
data-toggle="modal" t-att-data-target="'#slideChannelShareModal_%s' % channel.id">
- <i class="fa fa-share-square fa-fw"/> Share
+ <i class="fas fa-share-square fa-fw"/> Share
</button>
</div>
</div>
@@ -396,7 +396,7 @@
t-att-data-can-publish="channel.can_publish"><i class="fa fa-plus mr-1"/><span>Add Content</span></a>
<a class="o_wslides_js_slide_section_add border btn btn-light bg-white" t-attf-channel_id="#{channel.id}"
href="#" role="button"
- groups="website.group_website_publisher"><i class="fa fa-folder-o mr-1"/><span>Add Section</span></a>
+ groups="website.group_website_publisher"><i class="far fa-folder mr-1"/><span>Add Section</span></a>
</div>
</div>
<div t-field="channel.description_html"/>
@@ -428,7 +428,7 @@
New
</span>
<span t-if="slide.question_ids" t-att-class="'badge font-weight-bold px-2 py-1 m-1 %s' % ('badge-success' if channel_progress[slide.id].get('completed') else 'badge-warning')">
- <i t-attf-class="fa fa-fw #{'fa-check' if channel_progress[slide.id].get('completed') else 'fa-flag'}"/>
+ <i t-attf-class="fa-fw #{'fas fa-check' if channel_progress[slide.id].get('completed') else 'far fa-flag'}"/>
<t t-esc="channel_progress[slide.id].get('quiz_karma_won', 0) if channel_progress[slide.id].get('completed') else channel_progress[slide.id].get('quiz_karma_gain', 0)"/> xp
</span>
<span class="badge badge-danger font-weight-normal px-2 py-1 m-1" t-if="not slide.website_published">Unpublished</span>
@@ -436,13 +436,13 @@
<div t-if="channel.is_member or channel.can_publish" class="pt-2 pb-2 border-left ml-2 mr-2 pl-2 d-flex flex-row align-items-center o_wslides_slides_list_slide_controls">
<t t-if="channel.is_member">
- <i t-if="not channel_progress[slide.id].get('completed')" class="check-done fa fa-circle-o text-500 px-2"></i>
- <i t-else="" class="check-done text-success fa fa-check-circle px-2"></i>
+ <i t-if="not channel_progress[slide.id].get('completed')" class="check-done far fa-circle text-500 px-2"></i>
+ <i t-else="" class="check-done text-success far fa-check-circle px-2"></i>
</t>
<span t-if="channel.can_publish" class="d-none d-md-flex">
- <a t-if="slide.slide_type == 'webpage'" class="px-2 o_text_link text-primary" target="_blank" t-attf-href="/slides/slide/#{slug(slide)}?enable_editor=1"><span class="fa fa-pencil"/></a>
- <a t-else="" class="px-2 o_text_link text-primary" target="_blank" t-attf-href="/web#id=#{slide.id}&amp;action=#{slide_action}&amp;model=slide.slide&amp;view_type=form"><span class="fa fa-pencil"/></a>
- <a href="#" t-att-data-slide-id="slide.id" class="o_text_link text-danger px-2 o_wslides_js_slide_archive"><span class="fa fa-trash"/></a>
+ <a t-if="slide.slide_type == 'webpage'" class="px-2 o_text_link text-primary" target="_blank" t-attf-href="/slides/slide/#{slug(slide)}?enable_editor=1"><span class="fas fa-pencil-alt"/></a>
+ <a t-else="" class="px-2 o_text_link text-primary" target="_blank" t-attf-href="/web#id=#{slide.id}&amp;action=#{slide_action}&amp;model=slide.slide&amp;view_type=form"><span class="fas fa-pencil-alt"/></a>
+ <a href="#" t-att-data-slide-id="slide.id" class="o_text_link text-danger px-2 o_wslides_js_slide_archive"><span class="far fa-trash-alt"/></a>
</span>
</div>
</li>
@@ -540,7 +540,7 @@
t-att-data-channel-id="channel.id"
t-att-data-can-upload="channel.can_upload"
t-att-data-can-publish="channel.can_publish">
- <i class="fa fa-cloud-upload mr-1"/>Upload new content
+ <i class="fas fa-cloud-upload-alt mr-1"/>Upload new content
</a>
</div>
<!-- Featured lesson -->
@@ -669,7 +669,7 @@
</span>
</div>
<t t-if="channel.is_member and channel_progress[slide.id].get('completed')">
- <span class="badge badge-pill badge-success"><i class="fa fa-check"/> Completed</span>
+ <span class="badge badge-pill badge-success"><i class="fas fa-check"/> Completed</span>
</t>
</div>
</div>
@@ -678,13 +678,13 @@
<template id="slide_icon">
<t t-set="icon_class" t-value="icon_class if icon_class else 'mr-2 text-muted'"/>
- <i t-if="slide.slide_type == 'document'" t-att-class="'fa fa-file-pdf-o %s' % icon_class"></i>
- <i t-if="slide.slide_type == 'presentation'" t-att-class="'fa fa-file-pdf-o %s' % icon_class"></i>
- <i t-if="slide.slide_type == 'infographic'" t-att-class="'fa fa-file-picture-o %s' % icon_class"></i>
+ <i t-if="slide.slide_type == 'document'" t-att-class="'far fa-file-pdf %s' % icon_class"></i>
+ <i t-if="slide.slide_type == 'presentation'" t-att-class="'far fa-file-pdf %s' % icon_class"></i>
+ <i t-if="slide.slide_type == 'infographic'" t-att-class="'far fa-file-image %s' % icon_class"></i>
<i t-if="slide.slide_type == 'video'" t-att-class="'fa fa-play-circle %s' % icon_class"></i>
- <i t-if="slide.slide_type == 'link'" t-att-class="'fa fa-file-code-o %s' % icon_class"></i>
- <i t-if="slide.slide_type == 'webpage'" t-att-class="'fa fa-file-text %s' % icon_class"></i>
- <i t-if="slide.slide_type == 'quiz'" t-att-class="'fa fa-question-circle %s' % icon_class"></i>
+ <i t-if="slide.slide_type == 'link'" t-att-class="'far fa-file-code %s' % icon_class"></i>
+ <i t-if="slide.slide_type == 'webpage'" t-att-class="'fas fa-file-alt %s' % icon_class"></i>
+ <i t-if="slide.slide_type == 'quiz'" t-att-class="'far fa-question-circle %s' % icon_class"></i>
</template>
</data></odoo>