diff --git a/middlewares/host.js b/middlewares/host.js index 072ec14..5698d6f 100644 --- a/middlewares/host.js +++ b/middlewares/host.js @@ -12,7 +12,7 @@ async function getHosts(req, res, next) { req.hosts_data = JSON.stringify(arr); req.hosts_columns = JSON.stringify([ { - title: 'Host', + title: 'Client', data: 'host', }, { diff --git a/middlewares/job.js b/middlewares/job.js index 4df8f57..0d3b552 100644 --- a/middlewares/job.js +++ b/middlewares/job.js @@ -42,6 +42,10 @@ async function getJobs(req, res, next) { title: 'Nom du projet', data: 'project_name', }, + { + title: 'Client', + data: 'session_host', + }, { title: 'Action', orderable: false, diff --git a/middlewares/project.js b/middlewares/project.js index 090b711..866c25a 100644 --- a/middlewares/project.js +++ b/middlewares/project.js @@ -114,6 +114,10 @@ async function getJobsOfProject(req, res, next) { title: 'Durée (s)', data: 'duree', }, + { + title: 'Client', + data: 'session_host', + }, { title: 'Action', orderable: false, diff --git a/middlewares/session.js b/middlewares/session.js index a79982f..60092fc 100644 --- a/middlewares/session.js +++ b/middlewares/session.js @@ -9,7 +9,7 @@ async function getSessions(req, res, next) { data: 'sessions_id', }, { - title: 'Host', + title: 'Client', data: 'sessions_host', }, { diff --git a/views/pages/hosts.ejs b/views/pages/hosts.ejs index 64671f2..072f866 100644 --- a/views/pages/hosts.ejs +++ b/views/pages/hosts.ejs @@ -27,7 +27,7 @@