coldfront
coldfront copied to clipboard
Correct text now displayed on "Activate" button for allocation requests without attributes set
Resolves #415 — Now, regardless of whether an allocation has attributes set or not, the text displayed on the button is "Activate." Tests were performed by:
- Logging in as a user
- Creating multiple allocations
- Changing the status of some allocations to a property other than "New"
- Logging in as an admin
- Setting attributes to one allocation without changing its status
- Checking that the allocation request button reads "Activate" and activating the allocation
- Checking that the status of this allocation is "Active" and the expiration date is set to 365 days out
- Going back to the allocation requests and checking that the request with no attributes has a button reading "Activate" rather than "Approve"
- Making sure that the user is prompted by an alert to confirm this activation
- Activating the allocation and checking that the status of this allocation is "Active" and the expiration date is set to 365 days out