Allocations pending activation are not displaying the correct text.
These two allocations are both in the 'approved' status; however, the green button for one shows 'activate' and the other shows 'approve.' The one showing 'activate' has allocation attributes already assigned to it. The other one does not. If we click the 'approve' button, it will ask if you're sure you want to approve with no attributes set:
If you click 'yes' it changes the status to 'active' and sets the expiration date out one year. Which is the same thing that happens with the 'activate' button. The text for either scenario should be 'activate'
Task Tests:
Sign into ColdFront
Create multiple allocations and set yourself as a user
Change the status of some of the allocations to something other than 'new' such as 'approved' and 'paid'
Login as the sys admin and navigate to the 'Allocation requests' list
Click on the details button of one of the allocations and add at least one allocation attribute but do not change the status.
Go back to the 'allocation requests' list and see if the green button now shows 'activate' rather than 'approve'
Click on the 'activate' button to change the status of that allocation to 'active' and confirm the expiration date is set one year from now.
Click on the 'activate' button of the allocation with no attributes and ensure that you get prompted to activate it without setting attributes. Click 'yes' and verify the status has been change to 'active' and the expiration date set out one year.
Allocations pending activation are not displaying the correct text.
These two allocations are both in the 'approved' status; however, the green button for one shows 'activate' and the other shows 'approve.' The one showing 'activate' has allocation attributes already assigned to it. The other one does not. If we click the 'approve' button, it will ask if you're sure you want to approve with no attributes set:
If you click 'yes' it changes the status to 'active' and sets the expiration date out one year. Which is the same thing that happens with the 'activate' button. The text for either scenario should be 'activate'
Task Tests: