prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  emphasize message when content renderer is not available
  
  Current behavior is confusing because the error is styled the same as the description:
  
  ![image](https://cloud.githubusercontent.com/assets/2367265/23562570/d50525d4-fff7-11e6-8644-98c28b9a6c7d.png)
  
  
  > Kolibri is unable to render this content
  
  This string should be rendered as an error message so it doesn't look like part of the content description. Recommend that we use a [non-dismissible alert](https://josephuspaye.github.io/Keen-UI/#/ui-alert) error:
  
  ![image](https://cloud.githubusercontent.com/assets/2367265/23562703/6ddf6a26-fff8-11e6-9b4c-45d2f3d7bcec.png)
  
  
  
  
  </issue>
  <code>
  [start of kolibri/plugins/html5_app_renderer/kolibri_plugin.py]
  1 from __future__ import absolute_import, print_function, unicode_literals
  2 
  3 from kolibri.content import hooks as content_hooks
  4 from kolibri.plugins.base import KolibriPluginBase
  5 
  6 
  7 class HTML5AppPlugin(KolibriPluginBase):
  8     pass
  9 
  10 
  11 class HTML5AppAsset(content_hooks.WebpackBundleHook):
  12     unique_slug = "html5_app_renderer_module"
  13     src_file = "assets/src/module.js"
  14     content_types_file = "assets/src/content_types.json"
  15
  [end of kolibri/plugins/html5_app_renderer/kolibri_plugin.py]
  [start of kolibri/plugins/audio_mp3_render/kolibri_plugin.py]
  1 from __future__ import absolute_import, print_function, unicode_literals
  2 
  3 from kolibri.content import hooks as content_hooks
  4 from kolibri.plugins.base import KolibriPluginBase
  5 
  6 
  7 class AudioMP3RenderPlugin(KolibriPluginBase):
  8     pass
  9 
  10 
  11 class AudioMP3RenderAsset(content_hooks.WebpackBundleHook):
  12     unique_slug = "audio_mp3_render_module"
  13     src_file = "assets/src/module.js"
  14     content_types_file = "assets/src/content_types.json"
  15
  [end of kolibri/plugins/audio_mp3_render/kolibri_plugin.py]
  [start of kolibri/plugins/document_pdf_render/kolibri_plugin.py]
  1 from __future__ import absolute_import, print_function, unicode_literals
  2 
  3 from kolibri.content import hooks as content_hooks
  4 from kolibri.plugins.base import KolibriPluginBase
  5 
  6 
  7 class DocumentPDFRenderPlugin(KolibriPluginBase):
  8     pass
  9 
  10 
  11 class DocumentPDFRenderAsset(content_hooks.WebpackBundleHook):
  12     unique_slug = "document_pdf_render_module"
  13     src_file = "assets/src/module.js"
  14     content_types_file = "assets/src/content_types.json"
  15
  [end of kolibri/plugins/document_pdf_render/kolibri_plugin.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/kolibri/plugins/audio_mp3_render/kolibri_plugin.py b/kolibri/plugins/audio_mp3_render/kolibri_plugin.py
  --- a/kolibri/plugins/audio_mp3_render/kolibri_plugin.py
  +++ b/kolibri/plugins/audio_mp3_render/kolibri_plugin.py
  @@ -8,7 +8,7 @@
       pass
   
   
  -class AudioMP3RenderAsset(content_hooks.WebpackBundleHook):
  +class AudioMP3RenderAsset(content_hooks.ContentRendererHook):
       unique_slug = "audio_mp3_render_module"
       src_file = "assets/src/module.js"
       content_types_file = "assets/src/content_types.json"
  diff --git a/kolibri/plugins/document_pdf_render/kolibri_plugin.py b/kolibri/plugins/document_pdf_render/kolibri_plugin.py
  --- a/kolibri/plugins/document_pdf_render/kolibri_plugin.py
  +++ b/kolibri/plugins/document_pdf_render/kolibri_plugin.py
  @@ -8,7 +8,7 @@
       pass
   
   
  -class DocumentPDFRenderAsset(content_hooks.WebpackBundleHook):
  +class DocumentPDFRenderAsset(content_hooks.ContentRendererHook):
       unique_slug = "document_pdf_render_module"
       src_file = "assets/src/module.js"
       content_types_file = "assets/src/content_types.json"
  diff --git a/kolibri/plugins/html5_app_renderer/kolibri_plugin.py b/kolibri/plugins/html5_app_renderer/kolibri_plugin.py
  --- a/kolibri/plugins/html5_app_renderer/kolibri_plugin.py
  +++ b/kolibri/plugins/html5_app_renderer/kolibri_plugin.py
  @@ -8,7 +8,7 @@
       pass
   
   
  -class HTML5AppAsset(content_hooks.WebpackBundleHook):
  +class HTML5AppAsset(content_hooks.ContentRendererHook):
       unique_slug = "html5_app_renderer_module"
       src_file = "assets/src/module.js"
       content_types_file = "assets/src/content_types.json"
  
verification_info: {"golden_diff": "diff --git a/kolibri/plugins/audio_mp3_render/kolibri_plugin.py b/kolibri/plugins/audio_mp3_render/kolibri_plugin.py\n--- a/kolibri/plugins/audio_mp3_render/kolibri_plugin.py\n+++ b/kolibri/plugins/audio_mp3_render/kolibri_plugin.py\n@@ -8,7 +8,7 @@\n     pass\n \n \n-class AudioMP3RenderAsset(content_hooks.WebpackBundleHook):\n+class AudioMP3RenderAsset(content_hooks.ContentRendererHook):\n     unique_slug = \"audio_mp3_render_module\"\n     src_file = \"assets/src/module.js\"\n     content_types_file = \"assets/src/content_types.json\"\ndiff --git a/kolibri/plugins/document_pdf_render/kolibri_plugin.py b/kolibri/plugins/document_pdf_render/kolibri_plugin.py\n--- a/kolibri/plugins/document_pdf_render/kolibri_plugin.py\n+++ b/kolibri/plugins/document_pdf_render/kolibri_plugin.py\n@@ -8,7 +8,7 @@\n     pass\n \n \n-class DocumentPDFRenderAsset(content_hooks.WebpackBundleHook):\n+class DocumentPDFRenderAsset(content_hooks.ContentRendererHook):\n     unique_slug = \"document_pdf_render_module\"\n     src_file = \"assets/src/module.js\"\n     content_types_file = \"assets/src/content_types.json\"\ndiff --git a/kolibri/plugins/html5_app_renderer/kolibri_plugin.py b/kolibri/plugins/html5_app_renderer/kolibri_plugin.py\n--- a/kolibri/plugins/html5_app_renderer/kolibri_plugin.py\n+++ b/kolibri/plugins/html5_app_renderer/kolibri_plugin.py\n@@ -8,7 +8,7 @@\n     pass\n \n \n-class HTML5AppAsset(content_hooks.WebpackBundleHook):\n+class HTML5AppAsset(content_hooks.ContentRendererHook):\n     unique_slug = \"html5_app_renderer_module\"\n     src_file = \"assets/src/module.js\"\n     content_types_file = \"assets/src/content_types.json\"\n", "issue": "emphasize message when content renderer is not available\n\r\nCurrent behavior is confusing because the error is styled the same as the description:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2367265/23562570/d50525d4-fff7-11e6-8644-98c28b9a6c7d.png)\r\n\r\n\r\n> Kolibri is unable to render this content\r\n\r\nThis string should be rendered as an error message so it doesn't look like part of the content description. Recommend that we use a [non-dismissible alert](https://josephuspaye.github.io/Keen-UI/#/ui-alert) error:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2367265/23562703/6ddf6a26-fff8-11e6-9b4c-45d2f3d7bcec.png)\r\n\r\n\r\n\n", "before_files": [{"content": "from __future__ import absolute_import, print_function, unicode_literals\n\nfrom kolibri.content import hooks as content_hooks\nfrom kolibri.plugins.base import KolibriPluginBase\n\n\nclass HTML5AppPlugin(KolibriPluginBase):\n    pass\n\n\nclass HTML5AppAsset(content_hooks.WebpackBundleHook):\n    unique_slug = \"html5_app_renderer_module\"\n    src_file = \"assets/src/module.js\"\n    content_types_file = \"assets/src/content_types.json\"\n", "path": "kolibri/plugins/html5_app_renderer/kolibri_plugin.py"}, {"content": "from __future__ import absolute_import, print_function, unicode_literals\n\nfrom kolibri.content import hooks as content_hooks\nfrom kolibri.plugins.base import KolibriPluginBase\n\n\nclass AudioMP3RenderPlugin(KolibriPluginBase):\n    pass\n\n\nclass AudioMP3RenderAsset(content_hooks.WebpackBundleHook):\n    unique_slug = \"audio_mp3_render_module\"\n    src_file = \"assets/src/module.js\"\n    content_types_file = \"assets/src/content_types.json\"\n", "path": "kolibri/plugins/audio_mp3_render/kolibri_plugin.py"}, {"content": "from __future__ import absolute_import, print_function, unicode_literals\n\nfrom kolibri.content import hooks as content_hooks\nfrom kolibri.plugins.base import KolibriPluginBase\n\n\nclass DocumentPDFRenderPlugin(KolibriPluginBase):\n    pass\n\n\nclass DocumentPDFRenderAsset(content_hooks.WebpackBundleHook):\n    unique_slug = \"document_pdf_render_module\"\n    src_file = \"assets/src/module.js\"\n    content_types_file = \"assets/src/content_types.json\"\n", "path": "kolibri/plugins/document_pdf_render/kolibri_plugin.py"}]}