--- a/src/hdalab/views/profile.py Mon Apr 04 17:04:14 2016 +0200
+++ b/src/hdalab/views/profile.py Thu Mar 31 14:13:00 2016 +0200
@@ -212,6 +212,13 @@
form = AuthenticationForm(self.request)
context["form"] = form
+ if hasattr(settings, 'RENKAN_TUTORIAL_MP4'):
+ context['video_mp4'] = settings.RENKAN_TUTORIAL_MP4
+ if hasattr(settings, 'RENKAN_TUTORIAL_WEBM'):
+ context['video_webm'] = settings.RENKAN_TUTORIAL_WEBM
+ if hasattr(settings, 'RENKAN_TUTORIAL_OGG'):
+ context['video_ogg'] = settings.RENKAN_TUTORIAL_OGG
+
return context