-
-
Projects
-
-
-
-
-
- Project |
- Task |
- Point |
- Status |
- Assigned To |
- Time Spent |
- Last Activity |
-
-
-
- {% for point in points %}
-
- {{ point.task.project.name }} |
- {{ point.task.name }} |
- {{ point.text }} |
-
-
- {{ point.status }}
-
- |
- {{ point.task.assigned_to.name }} |
-
- {% with point.total_activity_time as time %}
- {{ time.0 }}h {{ time.1 }}m {{ time.2 }}s
- {% endwith %}
- |
-
- {% with point.pointactivity_set.last as last_activity %}
- {% if last_activity %}
- {{ last_activity.end_time|date:"Y-m-d H:i" }}
- {% else %}
- No activity
- {% endif %}
- {% endwith %}
- |
-
- {% empty %}
-
- No points found with the current filters |
-
- {% endfor %}
-
-
+
+
+
+
+
+ Project |
+ Task |
+ Point |
+ Status |
+ Assigned To |
+ Time Spent |
+ Last Activity |
+
+
+
+ {% for point in points %}
+
+ {{ point.task.project.name }} |
+ {{ point.task.name }} |
+ {{ point.text|truncatechars:30 }} |
+
+
+ {{ point.status }}
+
+ |
+ {{ point.task.assigned_to.name }} |
+
+ {% with point.total_activity_time as time %}
+ {{ time.0 }}h {{ time.1 }}m
+ {% endwith %}
+ |
+
+ {% with point.pointactivity_set.last as last_activity %}
+ {% if last_activity %}
+ {{ last_activity.end_time|date:"m/d H:i" }}
+ {% else %}
+ -
+ {% endif %}
+ {% endwith %}
+ |
+
+ {% empty %}
+
+ No points found with the current filters |
+
+ {% endfor %}
+
+
+
@@ -119,6 +152,7 @@ document.addEventListener('DOMContentLoaded', function() {
new TomSelect('#projects', {
create: false,
sortField: 'text',
+ plugins: ['remove_button'],
onChange: function() {
document.getElementById('filter-form').submit();
}
@@ -128,6 +162,7 @@ document.addEventListener('DOMContentLoaded', function() {
new TomSelect('#staff', {
create: false,
sortField: 'text',
+ plugins: ['remove_button'],
onChange: function() {
document.getElementById('filter-form').submit();
}