|
|
|
@ -81,10 +81,10 @@
|
|
|
|
|
<tbody class="bg-white divide-y divide-gray-200">
|
|
|
|
|
{% for point in points %}
|
|
|
|
|
<tr class="border border-gray-200 text-center">
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">{{ point.task.project.name }}</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">{{ point.task.name }}</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">{{ point.text|truncatechars:30 }}</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300 whitespace-normal break-words max-w-xs">{{ point.task.project.name }}</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300 whitespace-normal break-words max-w-xs">{{ point.task.name }}</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300 whitespace-normal break-words max-w-xs">{{ point.text|truncatechars:30 }}</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300 whitespace-normal break-words max-w-xs">
|
|
|
|
|
<span class="status-badge inline-flex rounded-full
|
|
|
|
|
{% if point.status == 'Completed' %}bg-green-100 text-green-800
|
|
|
|
|
{% elif point.status == 'Working On' %}bg-blue-100 text-blue-800
|
|
|
|
@ -93,13 +93,13 @@
|
|
|
|
|
{{ point.status }}
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">{{ point.task.assigned_to.user.first_name }} {{ point.task.assigned_to.user.last_name }}</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300 whitespace-normal break-words max-w-xs">{{ point.task.assigned_to.user.first_name }} {{ point.task.assigned_to.user.last_name }}</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300 whitespace-normal break-words max-w-xs">
|
|
|
|
|
{% with point.total_activity_time as time %}
|
|
|
|
|
{{ time.0 }}h {{ time.1 }}m
|
|
|
|
|
{% endwith %}
|
|
|
|
|
</td>
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300 whitespace-normal break-words max-w-xs">
|
|
|
|
|
{% with point.pointactivity_set.last as last_activity %}
|
|
|
|
|
{% if last_activity %}
|
|
|
|
|
{{ last_activity.end_time|date:"j F H:i" }}
|
|
|
|
|