django-grappelli
django-grappelli copied to clipboard
Dynamic grappelli dashboard size based on columns from Dashboard class
Columns variable was ignored in template. While columns==2 my Django grappelli showed 3 columns and I wanted to make it 4. My solution works with 1,2,3,4,5 columns, any more and longer names will pop up out of boxes. columns use use 23 as bs size as 24 is rounded up to 25 in widthratio template tag.
its single file override so you should be able to merge it to all dev branches.
@orlra Did you target branch dev/2.7.x by purpose? Because it´s pretty outdated — the development branch for the current version is stable/2.9.x.
Ok I see what you meant. I should push it to stable 2.7.x instead ? I just thought dev branch was a test before things go to stable. My project jumps between LTS versions and I need this in 1.8 Django. Thats why I targeted this branch. you should be able to cherry pick it up to all devs branches because from 2.7 nothing changed in this file.
If you with we can merge it to any other branch, But I would like to see it on stable/2.7.x if possible.
@parsch please take a look at this.