-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use beta admin as default #621
Conversation
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.
🚀 👏
Do we want to modify all the other links pointing to the administration (edit button, etc.) as well?
@@ -109,6 +109,20 @@ def in_url(*args, **kwargs): | |||
) | |||
|
|||
|
|||
@front.app_template_global() | |||
def beta_admin_url_for(path, fallback_path, **kwargs): |
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.
We're missing some routes. They have been documented in datagouv/data.gouv.fr#1648 and can be added in future iterations.
Membership Request notification @
url_for('admin.index', path='organization/{id}/'.format(id=org.id), _anchor='membership-requests', _external=True) |
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.
I agree, I think we'll have to work on the mailing system at some point because it was not thought with this usecase in mind.
Dataservice is now conditional to having the new admin config
Also use non-deprecated function from datagouv/components See datagouv/udata-front#621 on udata-front side Co-authored-by: maudetes <[email protected]>
See datagouv/front-end#207 for the same on front-end side