kopia lustrzana https://github.com/wagtail/wagtail
Remove link from image file field - link was broken, but we don't want to give original_images public URLs anyhow (ref #87)
rodzic
18427dff41
commit
d6aa09a48b
|
@ -1,7 +1,7 @@
|
||||||
{% extends "wagtailadmin/shared/field_as_li.html" %}
|
{% extends "wagtailadmin/shared/field_as_li.html" %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% block form_field %}
|
{% block form_field %}
|
||||||
<a href="{{MEDIA_URL}}images/{{ image.file }}" class="icon icon-image">{{ image.filename }}</a><br /><br />
|
<span class="icon icon-image">{{ image.filename }}</span><br /><br />
|
||||||
|
|
||||||
{% trans "Change image:" %}
|
{% trans "Change image:" %}
|
||||||
{{ field }}
|
{{ field }}
|
||||||
|
|
Ładowanie…
Reference in New Issue