google-code-export / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
0 stars 0 forks source link

Yes - No Icon Imagehack not working proprly when your admin media url begins with something other than media #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow the steps for installing django-grapelli.
2. Set up your media/admin media urls to begin with something other than
"media".

What is the expected output? What do you see instead?

The true / false images from the original django changelist should be
replaced with ones from the grapelli skin. Instead I see the original images.

What version of the product are you using? On what operating system?

head revision / doesn't matter.

Please provide any additional information below.

If you insist on having this "hack" at least change the selectors to:

img[src$="/admin/icon-no.gif"]

and

img[src$="/admin/icon-yes.gif"]

Original issue reported on code.google.com by vvangelo...@gmail.com on 11 Jul 2009 at 11:14

GoogleCodeExporter commented 9 years ago
Thanks for the advice, I changed the selectors like you mentioned in your issue.
For now I keep this workaround because the original images come from 
admin_list.py.
With Grappelli we are changing .html templates only.

Sorry for the late reply but I was working on Grappelli 2.0 which is 
pre-released now.
Check it out - testing/feedback is very much appreciated,

Axel

Original comment by parsch.inc@gmail.com on 11 Aug 2009 at 11:11

GoogleCodeExporter commented 9 years ago
Hey, thanks for the update on that. Unfortunately as my project is set up right 
now I
can't just plug in another version of grappelli. But I'll be sure to check out 
the
new version soon, as I really like it, especially the design.

Original comment by vvangelo...@gmail.com on 12 Aug 2009 at 5:54