From 633d6d3e67a51810ff09b9ea5b9081944f12904a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 20 Oct 2021 18:16:37 -0300 Subject: [PATCH] Bug 29575: Add $patron_to_html to render patron information in JS This patch adds a re-usable javascript render function that accepts a Koha REST api Patron object and outputs the HTML representation. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- .../prog/en/includes/js-patron-format.inc | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc new file mode 100644 index 0000000000..c81d37338f --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc @@ -0,0 +1,46 @@ + + + -- 2.39.5