Closed sjDCC closed 7 years ago
An update to this. The functionality to edit a section previously added seems to be working. I have now logged in as Brighton who added the "Project and funder details" section and see this in edit mode. The two issues are that:
Adding another point from #335 as this is related.
The edit rights on customisations of funder templates should be:
Currently users are being given an option to add a phase and edit template details, neither of which they should be able to do
The following screen shots depict the interface implimented. This feature needed to be re-written. In particular, the 'Add/Edit Annotations' text may need re-worked as of UAT. The button allows the user to edit both suggested_answer and guidance from one form.
The buttons to add and edit annotations appear but clicking them doesn't open up an editable area, either on existing customisations or when trying to add new ones. Effectively i can't get @xsrust's second screengrab to show. Adding sections does open up an editable box though.
@sjDCC please try again - I hadn't precompiled the javascript changes on the server.
It seems to be working for me on dmponline-test
Yay! this is working. closing out
If you clikc on 'add annotations' but then decide to hit 'cancel, it doesn't close the field; you are thrown further up the page but the 'add annotations' procedure remains open. Please note that this happens on both live and dmponline-test.
Have checked and I experience this too. It also lets you save with nothing entered in the box. The overview table then shows the template as having being customised although no guidance or suggested answers are saved or show up on the front end...
I've added an actual suggested answer and it's not showing on the front end either. I'm on a call now, but @dsisu could you do more testing adding content through annotations and checking they show up on front end please.
Ignore me. I missed the publishing step. All is working :)
Only thing is @dsisu's point that the box doesn't close when you cancel
Working fine now. Cancel closes the boxes. Closing out
The button to edit existing content added to a funder template is missing. I have an option to add a section but not amend suggested answers or questions added to a section previously etc. Screengrabs from current live and test
![edit-missing](https://cloud.githubusercontent.com/assets/6169940/26531720/2bf2feb0-43e7-11e7-8e71-72a189f63b93.PNG)