Commit e7103678 by François C.

Display U instead of Unité(s) only when Autres column is displayed (#3040)

parent e75905fd
Pipeline #2198 failed with stage
in 1 minute 28 seconds
...@@ -417,7 +417,7 @@ function initLists() { ...@@ -417,7 +417,7 @@ function initLists() {
className:"dt-body-center", className:"dt-body-center",
orderable: false, orderable: false,
render: function (data) { render: function (data) {
if (data.toLowerCase().indexOf('unit') === 0) { if (display_autres === "True" && data.toLowerCase().indexOf('unit') === 0) {
return "U"; return "U";
} else { } else {
return data; return data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment