summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
Diffstat (limited to 'addons')
-rw-r--r--addons/website_slides/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_slides/controllers/main.py b/addons/website_slides/controllers/main.py
index 7d7eee4fb8e..85aeab3b224 100644
--- a/addons/website_slides/controllers/main.py
+++ b/addons/website_slides/controllers/main.py
@@ -764,7 +764,7 @@ class WebsiteSlides(WebsiteProfile):
return preview
existing_slide = Slide.search([('channel_id', '=', int(data['channel_id'])), ('document_id', '=', document_id)], limit=1)
if existing_slide:
- preview['error'] = _('This video already exists in this channel <a target="_blank" href="/slides/slide/%s">click here to view it </a>') % existing_slide.id
+ preview['error'] = _('This video already exists in this channel on the following slide: %s') % existing_slide.name
return preview
values = Slide._parse_document_url(data['url'], only_preview_fields=True)
if values.get('error'):