-
Notifications
You must be signed in to change notification settings - Fork 3
organisations: Stop using the organisations middleware #859
Conversation
a154ebb
to
3d65e30
Compare
3d65e30
to
1837a1b
Compare
Module.add_to_class("get_absolute_url", module_get_absolute_url) | ||
Project.add_to_class("get_absolute_url", project_get_absolute_url) | ||
ProjectFormComponent.get_base_url = project_get_base_url | ||
ModuleFormComponent.get_base_url = module_get_base_url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These ones might be debatable @MagdaN :)
But IMHO still better than the (from us here) badly understood middleware.
liqd_product/templates/a4reports/emails/report_creator.de.email
Outdated
Show resolved
Hide resolved
liqd_product/templates/a4reports/emails/report_creator.en.email
Outdated
Show resolved
Hide resolved
liqd_product/templates/a4reports/emails/report_moderator.en.email
Outdated
Show resolved
Hide resolved
liqd_product/templates/a4reports/emails/report_moderators.de.email
Outdated
Show resolved
Hide resolved
9a2a192
to
81a64dc
Compare
Instead of using the organisations/partners middleware, make the organisation slug explicit in all templates, views, urls etc. The only visible change here is that the dashboard now also uses the organisation slug.
81a64dc
to
b3757d7
Compare
Looking good for me and working :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, it reads well, but the links to old projects are not working and on the links for old projects (created still in current master branch) are not working, while newly created projects work fine. Also the header is the platform header (and not the partner/orga-header) anywhere.
And the timeline is a bit broken: the previous and next-buttons are in the wrong place.
@MagdaN Let's look at it together next week! |
@fuzzylogic2000 I can't reproduce you problem with the links but I fixed the header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It all works fine now! Yeah!
Instead of using the organisations/partners middleware, make the organisation
slug explicit in all templates, views, urls etc.
The only visible change here is that the dashboard now also uses the organisation slug.
This might require some manual testing to make sure nothing was left out that is not tested within the test suite.