diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..6a368d3 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,9 @@ +{ + "permissions": { + "allow": [ + "Bash(Get-ChildItem \"d:\\\\Projects\\\\LT_Janitorial_Quality_Control\\\\migrations\\\\versions\\\\\" -Name)", + "PowerShell(Remove-Item \"d:\\\\Projects\\\\LT_Janitorial_Quality_Control\\\\app\\\\templates\\\\issues\\\\issues_view.html\" -Confirm:$false)", + "PowerShell(Remove-Item \"d:\\\\Projects\\\\LT_Janitorial_Quality_Control\\\\app\\\\templates\\\\issues\\\\issues_list.html\" -Confirm:$false)" + ] + } +} diff --git a/app/templates/issues/issues_list.html b/app/templates/issues/issues_list.html deleted file mode 100644 index e0898a5..0000000 --- a/app/templates/issues/issues_list.html +++ /dev/null @@ -1,148 +0,0 @@ -{% extends "base.html" %} -{% from '_sla_badge.html' import sla_badge %} -{% block title %}Issues{% endblock %} -{% block content %} -
| Reported | -Severity | -Facility / Area | -Description | -Status | -SLA | -Assigned | -- |
|---|---|---|---|---|---|---|---|
| {{ issue.reported_at.strftime('%Y-%m-%d %H:%M') }} | -- - {{ issue.severity|title }} - - | -
- {{ issue.resolved_facility.name if issue.resolved_facility else '—' }} - {{ issue.area.name if issue.area else '—' }} - |
- {{ issue.description[:60] }}{% if issue.description|length > 60 %}…{% endif %} | -- - {{ issue.status|replace('_',' ')|title }} - - | -{{ sla_badge(issue) }} | -- {% if issue.assigned_user %}{{ issue.assigned_user.display_name }} - {% else %}—{% endif %} - | -- {# Following badge + inline unfollow #} - {% if is_following %} - - Following - - - {% endif %} - - - {% if current_user.role in ['admin','supervisor'] or issue.assigned_to == current_user.id %} - Edit - {% else %} - View - {% endif %} - - | -
{{ issue.description }}
- - {% if issue.photo_path or issue.mobile_photo_paths %} -{{ issue.result_notes }}
- {% endif %} - {% if issue.result_photos %} -{{ c.body }}
-