From a45f52fee89749af6c6427cdaf3b0e9e4d339b32 Mon Sep 17 00:00:00 2001 From: Jacek Lebioda <jacek.lebioda.001@student.uni.lu> Date: Wed, 1 Feb 2017 12:28:13 +0100 Subject: [PATCH] Corrected field names --- smash/web/templates/visits/details.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/smash/web/templates/visits/details.html b/smash/web/templates/visits/details.html index 1329a37a..ffa79816 100644 --- a/smash/web/templates/visits/details.html +++ b/smash/web/templates/visits/details.html @@ -94,13 +94,13 @@ {% for app in loApp %} <tr> <td>{{ forloop.counter }}</td> - <td>{{ app.appointmentType }}</td> - <td>{{ app.appDateTime | date:"d-M-Y" }}</td> - <td>{{ app.appDateTime | time:"H:i" }}</td> - <td>{{ app.appLength }}</td> + <td>{{ app.appointment_type }}</td> + <td>{{ app.datetime_when | date:"d-M-Y" }}</td> + <td>{{ app.datetime_when | time:"H:i" }}</td> + <td>{{ app.length }}</td> <td> - {% if app.flyingTeam %}{{ app.workerAssigned.first_name }} {{app.workerAssigned.last_name}} - {% else %} {{ app.flyingTeam }} + {% if app.flying_team %}{{ app.worker_assigned.first_name }} {{app.worker_assigned.last_name}} + {% else %} {{ app.flying_team }} {% endif %} </td> <td> <a href="" type="button" class="btn btn-block btn-default">TODO</a> </td> -- GitLab