[MOV] website_forum: rename the file containing the public templates

The website_forum_share_templates does not exclusively contain templates
to the forum share widget since the addition of the toolbar template.
Renaming the file to public_templates arguably makes more sense.

task-2749467

closes odoo/odoo#85998

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Tom De Caluwé
2022-03-09 13:12:44 +00:00
committed by qsm-odoo
parent 1d0b427b67
commit 57f690c5b7
3 changed files with 3 additions and 3 deletions
@@ -16,7 +16,7 @@ publicWidget.registry.websiteForum = publicWidget.Widget.extend({
selector: '.website_forum',
xmlDependencies: [
'/web_editor/static/src/xml/editor.xml',
'/website_forum/static/src/xml/website_forum_share_templates.xml',
'/website_forum/static/src/xml/public_templates.xml',
],
events: {
'click .karma_required': '_onKarmaRequiredClick',
@@ -558,7 +558,7 @@ publicWidget.registry.websiteForum = publicWidget.Widget.extend({
publicWidget.registry.websiteForumSpam = publicWidget.Widget.extend({
selector: '.o_wforum_moderation_queue',
xmlDependencies: ['/website_forum/static/src/xml/website_forum_share_templates.xml'],
xmlDependencies: ['/website_forum/static/src/xml/public_templates.xml'],
events: {
'click .o_wforum_select_all_spam': '_onSelectallSpamClick',
'click .o_wforum_mark_spam': 'async _onMarkSpamClick',
@@ -10,7 +10,7 @@ var qweb = core.qweb;
var ForumShare = publicWidget.registry.socialShare.extend({
selector: '',
xmlDependencies: publicWidget.registry.socialShare.prototype.xmlDependencies
.concat(['/website_forum/static/src/xml/website_forum_share_templates.xml']),
.concat(['/website_forum/static/src/xml/public_templates.xml']),
events: {},
/**