Skip to content

Commit

Permalink
Fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed May 9, 2020
1 parent fb11e01 commit 53bb072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shop/cascade/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ShopSearchResultsPlugin(ShopPluginBase):
def get_render_template(self, context, instance, placeholder):
if instance.placeholder.page.application_urls != 'CatalogSearchApp':
alert_msg = '''<div class="alert alert-danger">
This {} plugin is used on a CMS page without an application of type "Search".
Plugin "{}" is used on a CMS page without an application of type "Catalog Search".
</div>'''
return engines['django'].from_string(alert_msg.format(self.name))
return select_template([
Expand Down

0 comments on commit 53bb072

Please sign in to comment.