diff --git a/app/main/templates/agent.html b/app/main/templates/agent.html index 70a4160..b31f2ab 100644 --- a/app/main/templates/agent.html +++ b/app/main/templates/agent.html @@ -23,7 +23,8 @@ {% for i in range(line|length) %} {%if 'Charge' in charges[0][i] %} - {{line[i]}} % + {% set charge = line[i] | int %} + {{charge / 100}} {%else%} {{line[i]}} {%endif%} diff --git a/app/main/templates/agents.html b/app/main/templates/agents.html index 59a0be3..7a561b0 100644 --- a/app/main/templates/agents.html +++ b/app/main/templates/agents.html @@ -19,7 +19,7 @@ {{ agent.firstname }} {{ agent.secondname }} - {{agent.total_charge}} % + {{agent.total_charge / 100}} {{agent.num_projects}} {% endfor %} diff --git a/app/main/templates/projects.html b/app/main/templates/projects.html index a2a37a7..34792b8 100644 --- a/app/main/templates/projects.html +++ b/app/main/templates/projects.html @@ -21,7 +21,7 @@ {% for c in project[2:-1] %} {{c}} {% endfor %} - {{ project[-1] }} % + {{ project[-1] /100}} {% endfor %} -- libgit2 0.21.2