From 8203b2b525a58d76b5e7f5729e4de1ee18444191 Mon Sep 17 00:00:00 2001 From: Maxime Vergez Date: Mon, 3 Jul 2023 17:42:20 +0200 Subject: [PATCH] feat(front): do the same thing as grp2 with grp3 --- .../app/bib_liste/edit/bibliste-edit-controler.js | 7 ++++++- static/app/bib_liste/edit/bibliste-edit-tpl.html | 13 +++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/static/app/bib_liste/edit/bibliste-edit-controler.js b/static/app/bib_liste/edit/bibliste-edit-controler.js index 84742153..a31110be 100644 --- a/static/app/bib_liste/edit/bibliste-edit-controler.js +++ b/static/app/bib_liste/edit/bibliste-edit-controler.js @@ -14,7 +14,8 @@ app.controller('bibListeEditCtrl', ['$scope', '$http', '$uibModal', "desc_liste": "", "picto": "images/pictos/nopicto.gif", "regne": "", - "group2_inpn": "" + "group2_inpn": "", + "group3_inpn": "" }; self.edit_picto_db = []; self.edit_picto_projet = []; @@ -66,6 +67,10 @@ app.controller('bibListeEditCtrl', ['$scope', '$http', '$uibModal', $http.get(backendCfg.api_url + "taxref/regnewithgroupe2").then(function(response) { self.taxref_regne_group = response.data; }), + //-----------------------Get list inpn regne and group3----------------------------------------- + $http.get(backendCfg.api_url + "taxref/regnewithgroupe3").then(function(response) { + self.taxref_regne_group3 = response.data; + }), //-----------------------Get list of picto in dossier ./static/images/pictos ----------------------------------------------- $http.get(backendCfg.api_url + "biblistes/pictosprojet").then(function(response) { self.pictos_propose = response.data; diff --git a/static/app/bib_liste/edit/bibliste-edit-tpl.html b/static/app/bib_liste/edit/bibliste-edit-tpl.html index 1bc44c77..19e66767 100644 --- a/static/app/bib_liste/edit/bibliste-edit-tpl.html +++ b/static/app/bib_liste/edit/bibliste-edit-tpl.html @@ -79,6 +79,19 @@

+
+ +
+ +
+
+ +
+