On Tue, 15 Nov 2011 09:15:55 +0100, MoYo <m...@indepnet.net> wrote: > Another best way : > - on update, dynamically load template based on type and category and > used mandatory fields of template. Standard config must be dropped. > > But another question. Is a default template must be defined by entity ? > > Regards > > #### > Autre meilleure piste : > - à la mise à jour, charger dynamiquement le template en se basant sur > le type et la catégori et utilisé les champs obligatoire du template. > On pourrait supprimer les configs par défaut. > > Autre question, est-ce qu'un gabarit par défaut doit être définit par > entité ? > > ++ > > Le 15/11/2011 08:44, Julien Dombre a écrit : >> Hi, >> >> For next 0.83 version, ticket templates will be available. >> The beta-test have raised some questions. >> >> The situation in 0.80 : 3 configs to set mandatory fields : title, >> category, content >> In 0.83, written specifications say that we will define a default >> ticket template to manage default mandatory fields. >> The problem is that templates are not used after ticket creation so we >> loose the mandatory of the fields. >> So, I have not implement default templates and keep the 3 configs for >> mandatory fields. >> >> Do you think that it is the right solution or could we define default >> templates by entities ? >> >> Regards >> >> Julien >> >> _______________________________________________ >> Glpi-dev mailing list >> Glpi-dev@gna.org >> https://mail.gna.org/listinfo/glpi-dev > > > _______________________________________________ > Glpi-dev mailing list > Glpi-dev@gna.org > https://mail.gna.org/listinfo/glpi-dev
Oui, pour ma part une configuration de gabarit par défaut par entité me semble tout à fait cohérent. Pour une entité X affecter un gabarit par défaut et justement dans celui là définir quels champs seront pré-remplis, obligatoires et masqués et notamment la catégorie et le type ou l'on puisse les cacher pour l'utilisateur final si besoin. _______________________________________________ Glpi-dev mailing list Glpi-dev@gna.org https://mail.gna.org/listinfo/glpi-dev