From b5eec86d7cee32b41ea22036d39e219cfa92a812 Mon Sep 17 00:00:00 2001 From: Alex Zagoro Date: Thu, 5 Apr 2018 09:41:19 -0400 Subject: [PATCH 1/2] Fix path to clear icon; rename icons to have consistent names; correct image tag alt attribute --- .../img/{icon_deletelink.gif => icon-clear.gif} | Bin .../img/{selector-search.gif => icon-lookup.gif} | Bin .../admin/widgets/dynamic_raw_id_field.html | 4 ++-- .../admin/widgets/dynamic_raw_id_field_dj111.html | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename dynamic_raw_id/static/dynamic_raw_id/img/{icon_deletelink.gif => icon-clear.gif} (100%) rename dynamic_raw_id/static/dynamic_raw_id/img/{selector-search.gif => icon-lookup.gif} (100%) diff --git a/dynamic_raw_id/static/dynamic_raw_id/img/icon_deletelink.gif b/dynamic_raw_id/static/dynamic_raw_id/img/icon-clear.gif similarity index 100% rename from dynamic_raw_id/static/dynamic_raw_id/img/icon_deletelink.gif rename to dynamic_raw_id/static/dynamic_raw_id/img/icon-clear.gif diff --git a/dynamic_raw_id/static/dynamic_raw_id/img/selector-search.gif b/dynamic_raw_id/static/dynamic_raw_id/img/icon-lookup.gif similarity index 100% rename from dynamic_raw_id/static/dynamic_raw_id/img/selector-search.gif rename to dynamic_raw_id/static/dynamic_raw_id/img/icon-lookup.gif diff --git a/dynamic_raw_id/templates/dynamic_raw_id/admin/widgets/dynamic_raw_id_field.html b/dynamic_raw_id/templates/dynamic_raw_id/admin/widgets/dynamic_raw_id_field.html index 73d4306..7deee31 100644 --- a/dynamic_raw_id/templates/dynamic_raw_id/admin/widgets/dynamic_raw_id_field.html +++ b/dynamic_raw_id/templates/dynamic_raw_id/admin/widgets/dynamic_raw_id_field.html @@ -3,9 +3,9 @@ {{ hidden_input }} - Lookup + Lookup - Lookup + Clear diff --git a/dynamic_raw_id/templates/dynamic_raw_id/admin/widgets/dynamic_raw_id_field_dj111.html b/dynamic_raw_id/templates/dynamic_raw_id/admin/widgets/dynamic_raw_id_field_dj111.html index b04c776..1e7f235 100644 --- a/dynamic_raw_id/templates/dynamic_raw_id/admin/widgets/dynamic_raw_id_field_dj111.html +++ b/dynamic_raw_id/templates/dynamic_raw_id/admin/widgets/dynamic_raw_id_field_dj111.html @@ -6,9 +6,9 @@ {% include 'django/forms/widgets/input.html' %} - Lookup + Lookup - Lookup + Clear From 391a16e0eb403841137be1328b4958452092d39a Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Mon, 9 Apr 2018 22:08:58 +0200 Subject: [PATCH 2/2] Version 2.4 --- CHANGELOG | 6 ++++++ setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 880bd0f..4df4027 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,9 @@ +v2.4 (2018-04-09) +================= + +- Fixes missing icons in Admin views. +- Fixes missing JS handling when using a custom /admin/ url. + v2.3 (2018-01-18) ================= diff --git a/setup.py b/setup.py index 668e8ca..1249c56 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='django-dynamic-raw-id', - version='2.3', + version='2.4', author='Martin Mahner, Seth Buntin, Yann Malet', author_email='info@lincolnloop.com', description=("raw_id_fields widget replacement that handles display of an object's "