USDR Admins are unable to edit the output templates, and you can't view the previous file that was added for the output template version. Being able to download the file that was added as well as edit the output template will be helpful for troubleshooting and updating output templates in the case that an incorrect file was added.
Current State
Received this error when trying to update the output template
Expected State
"Show" page
When a USDR Admin clicks the "Show" button next to the output template version, they should see the following on the details page:
each file type should display along with linked text showing the file name next to it. For example:
CPF1ABroadbandInfrastructureTemplate: namoffile.csv
CPF1BDigitalConnectivityTechTemplate: namoffile.csv
CPF1CMultipurposeCommunityTemplate: namoffile.csv
The "nameoffile.csv" should display the name of the file uploaded, and the text should be a link to download the file that was uploaded.
"Edit" page
When a USDR Admin clicks the "Edit" button next to an output template version:
next to the fields for each file type, "nameoffile.csv" should display for what was previously uploaded - this should display the name of the file uploaded, and the text should be a link to download the file that was uploaded.
USDR Admin should also be able to edit any field on the page and save the output template
The new output template should be used going forward for any reporting period that is associated with that output template id.
Why is this issue important?
USDR Admins are unable to edit the output templates, and you can't view the previous file that was added for the output template version. Being able to download the file that was added as well as edit the output template will be helpful for troubleshooting and updating output templates in the case that an incorrect file was added.
Current State
Received this error when trying to update the output template
Expected State
"Show" page When a USDR Admin clicks the "Show" button next to the output template version, they should see the following on the details page: each file type should display along with linked text showing the file name next to it. For example: CPF1ABroadbandInfrastructureTemplate: namoffile.csv CPF1BDigitalConnectivityTechTemplate: namoffile.csv CPF1CMultipurposeCommunityTemplate: namoffile.csv
The "nameoffile.csv" should display the name of the file uploaded, and the text should be a link to download the file that was uploaded.
"Edit" page When a USDR Admin clicks the "Edit" button next to an output template version:
Implementation Plan
The following functions need to be added...
Relevant Code Snippets
No response