django-modeltranslation icon indicating copy to clipboard operation
django-modeltranslation copied to clipboard

Admin - can clicking one tab also switch the others?

Open ng-celes opened this issue 8 years ago • 0 comments

Is it somehow possible to gain such a functionality:

  • I have multiple fields which have translations
  • in admin for every field are generated language tabs
  • I need all tabs switched when one tab is clicked for some field

Such thing are handled now by SELECT element at the top of the page, but this is a little inconvenient.

Some time ago I created workaround in jQuery, but I was using Grappelli there. Now in 'clear' Django admin I can't create similar solution. Anywhere I try to trigger 'click', 'change', 'update' etc. no 'switch language' action is triggered.

I've also tried to 'gain access' through jQuery UI Tabs interfaces, but also no luck. Everything is encapsulated (from my point of view).

By the way - maybe there is possibility to gather all translated fields in one group in admin and have tabs "per group" not for single field?

With best regards!

ng-celes avatar Jun 02 '17 15:06 ng-celes