Locked APDs should have disabled links (link to open the APD and link to delete) with color #5A5A5A. They should display a locked message "In Use: This APD is currently being locked by another user.." It should also display "Locked:" and the date of lockedAt instead of "Lasted edited:". The figma shows a Last edited by and Locked by, but Akua decided we won't use names right now. We will still be logging them in the APD though.
When the APD unlocks, the links will be enabled, the locked message will be removed and Last edited will replace Locked.
trash can icon <i class="fa-solid fa-trash-can"></i>
Description and related issues
Locked APDs should have disabled links (link to open the APD and link to delete) with color #5A5A5A. They should display a locked message "In Use: This APD is currently being locked by another user.." It should also display "Locked:" and the date of lockedAt instead of "Lasted edited:". The figma shows a Last edited by and Locked by, but Akua decided we won't use names right now. We will still be logging them in the APD though.
When the APD unlocks, the links will be enabled, the locked message will be removed and Last edited will replace Locked.
<i class="fa-solid fa-trash-can"></i>
<i class="fa-solid fa-lock"></i>
<i class="fa-solid fa-clock"></i>
<i class="fa-solid fa-lightbulb-on"></i>
Mockups or link to Figma
Design ticket #4016 https://www.figma.com/file/hJpKHKU6fz5J0Z7fisSwa2/eAPD-MMIS-2022?node-id=5016%3A22717&t=COWHWEvjG4Ksdv6G-1
Behind the scene changes
Frontend only
Acceptance criteria
Testing criteria