Remove dashboard iframe from experiment form fixes #231
This commit is contained in:
Родитель
64f32b3b3c
Коммит
54a5cda6c2
|
@ -1,15 +0,0 @@
|
|||
{% extends "admin/change_form.html" %}
|
||||
|
||||
{% block content %}
|
||||
{{ block.super }}
|
||||
|
||||
{% if original.dashboard_image_url %}
|
||||
<a target="_blank" href="{{ original.dashboard_url }}">
|
||||
<img src="{{ original.dashboard_image_url }}" style="width:100%" />
|
||||
</a>
|
||||
{% elif original.dashboard_url %}
|
||||
<iframe src="{{ original.dashboard_url }}" frameborder="0" scrolling="no" width="100%" height="9000px" onload="resizeIframe(this)" />
|
||||
{% else %}
|
||||
<h2>Dashboard Unavailable</h2>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Загрузка…
Ссылка в новой задаче