Mentions légales du service

Skip to content

Template sub menus

BERJON Matthieu requested to merge template-sub-menus into django

Update of the sub menus located in the runner and webapp list templates. I got rid of the dropdown menu that was adding an unnecessary click for usually only one link. I took the opportunity to update a particular method in the runner that wasn't the right one used (get_queryset instead of get_object). Result is the same but semantically much better. I added a get_context_data method in order to send to the template the number of applications owned by a user.

Note: The runner creation template is at the moment restricted to logged in user. Meaning that if a user doesn't own any application but knows the URL, he can access the form but can't a runner.

Edited by BERJON Matthieu

Merge request reports