diff options
author | luxagraf <sng@luxagraf.net> | 2020-12-02 16:13:45 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-12-02 16:13:45 -0500 |
commit | 6153850da86c3158ad86b3a3bf1593c396e46b03 (patch) | |
tree | 67a289466b03c5e4093dd098fc06561f520a3d2e /design/templates/admin/insert_images.html | |
parent | 32c4a9dbeb374e93188755da7f406ddfd16f7583 (diff) |
fixed a bug with admin inserts. i think
Diffstat (limited to 'design/templates/admin/insert_images.html')
-rw-r--r-- | design/templates/admin/insert_images.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/admin/insert_images.html b/design/templates/admin/insert_images.html index cecfeee..05ab07d 100644 --- a/design/templates/admin/insert_images.html +++ b/design/templates/admin/insert_images.html @@ -83,7 +83,7 @@ function openInNewTab(url) { </figure> <ul class="actions">{%if object.get_type == "LuxVideo" %} <li><a data-is-video="true" data-video-mp4="{{object.video_mp4.url}}" data-video-webm="{{object.video_webm.url}}" data-id="{{object.id}}" data-class="vid" data-poster="{{object.video_poster.url}}" onclick="insertImage(this);return false;" class="insert" href="#">Insert video</a>{%else%} - <li><a data-src="{% get_image_by_size object 'tn' as tn %}" data-id="{{object.id}}" data-class="picwide" onclick="insertImage(this);return false;" href="#" >full width</a></li> + <li><a data-src="{% get_image_by_size object 'admin_insert' as tn %}" data-id="{{object.id}}" data-class="picwide" onclick="insertImage(this);return false;" href="#" >full width</a></li> <li><a data-src="{{tn}}" data-id="{{object.id}}" data-class="picwide" data-caption="true" onclick="insertImage(this);return false;" href="#">full width cap</a></li> <li><a data-src="{{tn}}" data-id="{{object.id}}" data-class="cluster pic66" onclick="insertImage(this);return false;" href="#">cluster</a></li> <li><a data-src="{{tn}}" data-id="{{object.id}}" data-class="picfull" onclick="insertImage(this);return false;" href="#">column width</a></li> |