diff --git a/app/db_mgr.py b/app/db_mgr.py index f3c801b..48fd14e 100644 --- a/app/db_mgr.py +++ b/app/db_mgr.py @@ -68,7 +68,7 @@ def charges_by_project(project_id): for line in results: nocomma_line = [str(cell) for cell in line] nocomma_results.append(nocomma_line) - headers = ["Period", "Agent", "Service", "Capacity", "Charge"] + headers = ["Periode", "Agent", "Service", "Fonction", "Charge"] nocomma_results.insert(0, headers) return nocomma_results @@ -101,7 +101,7 @@ def charges_by_agent_tabled(agent_id): for line in results: nocomma_line = [str(cell) for cell in line] nocomma_results.append(nocomma_line) - headers = ["Period", "Project", "Service", "Capacity", "Charge"] + headers = ["Periode", "Projet", "Service", "Fonction", "Charge"] nocomma_results.insert(0, headers) return nocomma_results diff --git a/app/main/static/css/charges.css b/app/main/static/css/charges.css index 005b68f..49543fa 100644 --- a/app/main/static/css/charges.css +++ b/app/main/static/css/charges.css @@ -6,7 +6,8 @@ border: solid 1px lightsteelblue; } -#charge_table td { +#charge_table td, +#charge_table th { padding: 0.8em; } diff --git a/app/main/templates/agent.html b/app/main/templates/agent.html index 77924c5..9b05763 100644 --- a/app/main/templates/agent.html +++ b/app/main/templates/agent.html @@ -10,7 +10,7 @@ {% for header in charges[0] %} - {{header}} + {{header}} {% endfor %} diff --git a/app/main/templates/project.html b/app/main/templates/project.html index dc9af42..680b1bb 100644 --- a/app/main/templates/project.html +++ b/app/main/templates/project.html @@ -9,7 +9,7 @@ {% for header in charges[0] %} - {{header}} + {{header}} {% endfor %} -- libgit2 0.21.2