This take the same concept as currently employed to prevent the user from editing the totalhours field on the ticket page but extends it.
The code has been factored out into a separate .js file so save on download times.
Here is what it now does:
- Changes the totalhours field to a non-editable span (no change).
- Changes the estimated hours and total hours fields in the header table to be hours/minutes rather than a conceptually harder for humans decimal value!
- Changes the billable flag in the header table to read Yes or No rather than 1 or 0.
- Does the above two changes for all changelog entries through the ticket.
It's basic javascript and it is protected by exception handling so if it fails there should be no negative effects.
If you like this I've got a few more UI related improvements to add both here and on the Management page.
Let me know.
Col