-
Notifications
You must be signed in to change notification settings - Fork 38
feature custom templates
Cédric Bonhomme edited this page Mar 14, 2018
·
15 revisions
Allow an administrator of a MONARC front office instance to set custom templates for deliveries.
The default behavior must be to use the templates bundled with MONARC or the ones provided by the back office.
- the administrator of a front office won't be able to delete templates provided by the back office (or the default templates bundled with MONARC);
- the administrator of a front office will be able to upload custom templates directly on the front office;
- to go further it should also be considered to allow several templates per languages per category of deliverable. This do not add to much complexity on the back end (models) of MONARC. But the user interface to manage the templates in the front office should stay usable and friendly;
- by default maximum 3 templates per category (without the defaults templates);
- custom templates will be available for the whole front office;
- update the models (zm-client);
- actually controllers (
ApiDeliveriesModelsController
) are in zm-backoffice and are using the serviceDeliveriesModelsService
from zm-core. The controllers should also be moved or duplicated; - add a view in the front office for the management of templates (.docx):
- ideally: ng-backoffice (
deliveries_models.kb_mgmt.html
andcreate.deliverymodel.html
) → ng-anr (with some tests if we are in BO or FO) - → almost the same page than the page actually used in the back office but with the possibility to manage several deliverables per category (maybe thanks to tabs);
- ideally: ng-backoffice (