Skip to content
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

Improve redirects #100

Merged
merged 12 commits into from
Feb 16, 2022
Merged

Improve redirects #100

merged 12 commits into from
Feb 16, 2022

Conversation

dandavies99
Copy link
Contributor

Improves the general usability of the webapp by changing redirect behaviour.

  • By default, users are redirected to the object they have just created after clicking "save".
  • There is also a "save and add another" button which leaves the user with a blank form and the usual confirmation success message.
  • "Add new" buttons are at the bottom of results tables so users don't have to navigate away or use the navbar to do this.
  • The homepage contains a simple table of data types and their descriptions with links to table views and new object views.

To be merged after #99

battDB/templates/batches_table.html Show resolved Hide resolved
tests/battDB/test_views.py Outdated Show resolved Hide resolved
@dandavies99 dandavies99 merged commit 3144e41 into develop Feb 16, 2022
@dandavies99 dandavies99 deleted the improve-redirects branch February 17, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants