From 91bb408aee1da618f1ca0f1733cfa40d84a97aca Mon Sep 17 00:00:00 2001 From: Carlos Vega <carlos.vega@uni.lu> Date: Mon, 6 Apr 2020 12:42:00 +0200 Subject: [PATCH] center columns --- smash/web/templates/includes/contact_attempts_box.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/smash/web/templates/includes/contact_attempts_box.html b/smash/web/templates/includes/contact_attempts_box.html index 61637ffc..84ae838a 100644 --- a/smash/web/templates/includes/contact_attempts_box.html +++ b/smash/web/templates/includes/contact_attempts_box.html @@ -27,14 +27,14 @@ <tbody> {% for contact_attempt in contact_attempts %} <tr> - <td>{{ contact_attempt.datetime_when }}</td> - <td>{{ contact_attempt.worker }}</td> + <td class="text-center">{{ contact_attempt.datetime_when }}</td> + <td class="text-center">{{ contact_attempt.worker }}</td> <td class="text-center">{{ contact_attempt.get_type_display }}</td> <td class="text-center"> <i class="fa {% if contact_attempt.success %}fa-check text-success{% else %}fa-times text-danger{% endif %}"></i> </td> - <td>{{ contact_attempt.comment }}</td> - <td><a title="edit contact attempt" + <td class="text-center">{{ contact_attempt.comment }}</td> + <td class="text-center"><a title="edit contact attempt" href="{% url 'web.views.contact_edit' subject.id contact_attempt.id %}{% if appointment_id %}?from_appointment={{ appointment_id }}{% endif %}" type="button" class="btn btn-block btn-default" -- GitLab