Skip to content

Cehcig 759 ceh model editor

Rod Scott requested to merge CEHCIG-759-ceh-model-editor into develop

CEH Model

I have created a new document type: CEH Model.

There is:

  • a new java model, CehModel
  • create and update methods on DocumentController
  • 2 new fixtures, a max and min example
  • a new Freemarker template
  • a new ceh-model.html.tpl using macros defined in blocks.html.tpl
  • a new editor CehModelEditorView

DocumentTypes

You can now configure which documentType appears in which catalogue.

  • The Catalogue object now has a list of documentTypes which are configured in ServiceConfig
  • The Freemaker skeleton macro adds the documentTypes to the dropdown, it also configures if the fileUpload link is displayed.

Editor fixes

  • Fixed which catalogue you go back to when you exit the editor and when deleting a record

Documentation

Tried to document the process of creating a new Document Type

Merge request reports

Loading