HH/templates/complaints/inquiry_response_already_submitted.html
ismail adff7dd8b5
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m15s
fix: token-response forms, inquiry dept-response 500, get_email_header_html, lucide
Bugs 4-8 from the QA audit, all re-verified (re-run: 0 FAIL):
- token-response form pages (inquiry + observation, 8 templates) extended the
  static dashboard base (no {% block content %}) -> form was dropped. Switched
  to layouts/public_base.html; form + csrf now render, anonymous token POST works
- inquiry dept-response GET 500 (missing template) -> created
  complaints/inquiry_department_response.html (mirrors the observation one)
- NameError get_email_header_html in notifications/settings_service.py
  (send_inquiry_department_assigned/_resolved/_reopened) -> added to the imports
- "lucide is not defined" -> guarded the unguarded lucide.createIcons() in
  layouts/base.html and added a guarded init to layouts/public_base.html
- dept analytics XHR ERR_ABORTED -> verified endpoint returns 200 (test artifact)

Report updated: §13 issues marked fixed.
2026-06-14 20:13:45 +03:00

19 lines
821 B
HTML

{% extends "layouts/public_base.html" %}
{% load i18n %}
{% block title %}{% trans "Response Already Submitted" %}{% endblock %}
{% block content %}
<div class="min-h-screen bg-gradient-to-br from-slate-50 via-blue-50 to-indigo-50 py-12 px-4">
<div class="max-w-2xl mx-auto">
<div class="bg-white rounded-3xl shadow-2xl p-8 md:p-10 text-center">
<div class="w-16 h-16 bg-amber-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i data-lucide="alert-triangle" class="w-8 h-8 text-amber-600"></i>
</div>
<h1 class="text-2xl font-bold text-navy mb-2">{% trans "Response Already Submitted" %}</h1>
<p class="text-slate-500">{% trans "This response link has already been used." %}</p>
</div>
</div>
</div>
{% endblock %}