From 0e902d737a97e0cab41eb17876a892625c2a6a85 Mon Sep 17 00:00:00 2001
From: Ruben Backx <r.w.backx@tudelft.nl>
Date: Thu, 10 Aug 2023 13:38:34 +0200
Subject: [PATCH] Add name and payscale to raise request preview

Signed-off-by: Ruben Backx <r.w.backx@tudelft.nl>
---
 src/main/resources/templates/raise_request/view.html | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main/resources/templates/raise_request/view.html b/src/main/resources/templates/raise_request/view.html
index 6dc024040..30e115109 100644
--- a/src/main/resources/templates/raise_request/view.html
+++ b/src/main/resources/templates/raise_request/view.html
@@ -31,12 +31,17 @@
             <div class="flex vertical p-7">
                 <h1 class="underlined font-500" th:text="#{raiseRequest.view}"></h1>
 
+                <div class="mb-2 flex vertical gap-0">
+                    <span th:text="|Student: ${request.person.displayName}|"></span>
+                    <span th:text="|Pay scale: ${request.payScale.detailedString()}|"></span>
+                </div>
+
                 <object
                     th:data="|/raise-request/${request.id}/proof.pdf|"
                     type="application/pdf"
                     width="100%"
                     height="500px"
-                    style="min-width: 75vw; min-height: calc(90vh - 10rem)">
+                    style="min-width: 75vw; min-height: calc(90vh - 12rem)">
                     <div class="flex vertical">
                         <p>Cannot display PDF.</p>
                         <a th:href="@{/raise-request/{id}/proof(id=${request.id})}" class="button">
-- 
GitLab