HH/templates/complaints/investigation_already_submitted.html
2026-07-19 12:27:55 +03:00

48 lines
2.4 KiB
HTML

{% load i18n %}
{% load static %}
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE|default:'en' }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% trans "Already Submitted" %} - PX360</title>
<link rel="stylesheet" href="{% static 'dist/css/tailwind.css' %}">
<link rel="stylesheet" href="{% static 'vendor/fonts/inter/latin.css' %}">
<style>
body { font-family: 'Inter', sans-serif; }
</style>
</head>
<body class="bg-gray-50 min-h-screen flex items-center py-8 px-4">
<div class="w-full max-w-xl mx-auto">
{% if complaint.department %}
<a href="{% url 'organizations:department_detail' complaint.department.id %}" class="inline-flex items-center gap-2 text-sm text-slate hover:text-navy transition mb-4">&larr; {% trans "Back to Department" %}</a>
{% endif %}
<div class="bg-white rounded-2xl shadow-lg border border-gray-200 p-8 text-center">
<div class="w-20 h-20 mx-auto bg-blue-100 rounded-full flex items-center justify-center mb-6">
<svg class="w-10 h-10 text-navy" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z"></path>
</svg>
</div>
<h1 class="text-2xl font-bold text-gray-800 mb-2">{% trans "Already Submitted" %}</h1>
<p class="text-gray-500">
{% if investigation %}
{% trans "The feedback collection for this complaint has already been completed." %}
{% elif inv_response %}
{% trans "You have already submitted your feedback." %}
{% else %}
{% trans "This link has already been used." %}
{% endif %}
</p>
{% if complaint %}
<div class="text-left bg-gray-50 rounded-xl p-4 mt-6">
<p class="text-sm text-gray-500">{% trans "Complaint Reference" %}</p>
<p class="font-bold text-gray-800">#{{ complaint.reference_number }}</p>
</div>
{% endif %}
</div>
<p class="text-center text-gray-400 text-xs mt-6">{% trans "PX360 Complaint Management System" %}</p>
</div>
</body>
</html>