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

Multiple tab navigations on one page

Open dbrgn opened this issue 11 years ago • 0 comments

Today I stumbled across a case where the django-tabination model doesn't seem to work. On https://studentenportal.ch/ there are different blocks of navigations divided by headers.

One possibility would be to add some css class hacks to add those headers to the desired tabs. This would work but is not too clean.

Another way would be to create three different tab groups and display them in a stacked way. The problem is that then the whole "detect all other tabs in the current tab group" thing doesn't allow you to access other tab groups.

Maybe a future version of django-tabination should include an explicit registry and template tags to display the tab groups, so that they get shown even if no tab is currently selected.

This could also simplify things a little, as currently the many class attributes/properties got quite messy.

dbrgn avatar Apr 29 '13 21:04 dbrgn