An overhaul of the whole admin interface, and namespacing of the CMS code.
I realised that there are a lot of Many-to-Many relationships between the different models, and could do with another way of being represented. Since this is a massive PR, and I thought I'd post some pictures just to help you get your head around what's going on.
Essentially now, every record can be viewing in the CMS and will show a series of tabs for all the other records that are related to it, plus an overview tab called "Info"
Eg.
A country will show...
General Info about the country, including some statistics about registration trends
Regions within the country like provinces or cross-border areas like NYC, and allows you to add new regions
Managers for that country, where you can also add or remove managers
All Venues within that country, but new venues should be added on the Province page.
All Events within that country, but new events should be added on a venue page.
An event will show...
General Info about the country, including some statistics about registration trends
Images that have been uploaded for this event
Managers for that event, including any inherited managers
A list of all Registrations for this event, ordered by most recent.
And here are a few other samples:
WORLDWIDE DATA PAGE
VENUE PAGE
MANAGER PAGE
A non-administrator will only have access to their Manager page, and through that, access to the pages of any Regions/Venues/Events that they are allowed to manage themselves.
This PR is now ready to be reviewed and merged, there is one issue that I uncovered while doing this, but I've made a separate issue #20, instead of resolving it in this PR.
An overhaul of the whole admin interface, and namespacing of the CMS code.
I realised that there are a lot of Many-to-Many relationships between the different models, and could do with another way of being represented. Since this is a massive PR, and I thought I'd post some pictures just to help you get your head around what's going on.
Essentially now, every record can be viewing in the CMS and will show a series of tabs for all the other records that are related to it, plus an overview tab called "Info" Eg. A country will show...
An event will show...
And here are a few other samples:
WORLDWIDE DATA PAGE
VENUE PAGE
MANAGER PAGE
A non-administrator will only have access to their Manager page, and through that, access to the pages of any Regions/Venues/Events that they are allowed to manage themselves.