Internal
Public Access
Show overdue styling on tasks in offline mode
renderTaskItem() never applied the "overdue" CSS class at all, so overdue tasks in offline mode looked like any other task instead of getting the red highlight/due-date treatment they get online. Adds isTaskOverdue(), mirroring Task.is_overdue, applied the same way _task_item.html does it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
373bfe6a6e
commit
bde7be454b
+1
-1
@@ -1,4 +1,4 @@
|
||||
{% load static %}const CACHE_NAME = 'keepitgoing-shell-v6';
|
||||
{% load static %}const CACHE_NAME = 'keepitgoing-shell-v7';
|
||||
const OFFLINE_URL = '{% url "offline" %}';
|
||||
const OFFLINE_TASKS_URL = '{% url "offline-tasks" %}';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user