[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:
@@ -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: {},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user