From 45f19ded6158d750fc7fa40865146c8ceb74da46 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 10 Oct 2024 01:57:24 -0600 Subject: [PATCH] Add admin-response blade view --- .../site/contact/admin-response.blade.php | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 resources/views/site/contact/admin-response.blade.php diff --git a/resources/views/site/contact/admin-response.blade.php b/resources/views/site/contact/admin-response.blade.php new file mode 100644 index 000000000..723fb9833 --- /dev/null +++ b/resources/views/site/contact/admin-response.blade.php @@ -0,0 +1,55 @@ +@extends('layouts.blank') + +@section('content') +
+
+
+
+
+ Back to Pixelfed +

Contact Form Response

+

Ticket ID #{{$contact->id}}

+
+ +
+
+
+ +
+
@{{$contact->user->username}}
+ {{$contact->user->name}} +
+
+

You sent the following inquiry:

+
+
+ {{ $contact->message }} +
+
+

You sent this inquiry on {{$contact->created_at->format('M d, Y')}} at {{$contact->created_at->format('h:i:s a e')}}

+
+ + @if($contact->response) +
+

The admin(s) responded to your inquiry:

+
+
+ {{ $contact->response }} +
+
+ @if($contact->responded_at) +

The response was created on {{$contact->responded_at->format('M d, Y')}} at {{$contact->responded_at->format('h:i:s a e')}}

+ @endif +
+
+
+

If you would like to respond, use the contact form.

+
+
+ @endif +
+
+
+
+
+@endsection