Added javascript cookie check, if blocked, login in new tab

This commit is contained in:
David Taylor
2016-10-08 22:55:27 +01:00
parent 879ecd1f6d
commit 5949ff74ec
5 changed files with 34 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ class EventOembed(generic.View):
full_url = "{0}://{1}{2}".format(request.scheme, request.META['HTTP_HOST'], embed_url)
data = {
'html': '<iframe src="{0}" frameborder="0" width="100%" height="300"></iframe>'.format(full_url),
'html': '<iframe src="{0}" frameborder="0" width="100%" height="250"></iframe>'.format(full_url),
'version': '1.0',
'type': 'rich',
}