From 7a91fde3a2bc9e7f4f8d4a81b245ad00aeee9c8f Mon Sep 17 00:00:00 2001 From: Benedict Date: Mon, 7 Aug 2023 16:10:04 -0400 Subject: [PATCH] Now can see recipient for access request in access request tab --- code/game/machinery/ARES/ARES_procs.dm | 4 ++-- tgui/packages/tgui/interfaces/WorkingJoe.js | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/ARES/ARES_procs.dm b/code/game/machinery/ARES/ARES_procs.dm index 48d9cc5f8417..142fae44a212 100644 --- a/code/game/machinery/ARES/ARES_procs.dm +++ b/code/game/machinery/ARES/ARES_procs.dm @@ -987,9 +987,9 @@ GLOBAL_LIST_INIT(maintenance_categories, list( var/ticket_holder var/priority_report = FALSE var/is_self = tgui_alert(operator, "Is this request for yourself?", "Ticket Holder", list("Yes", "No")) - if(is_self != "Yes") + if(is_self == "No") ticket_holder = tgui_input_text(operator, "Who is the ticket for? (Please use precise name, with punctuation and capitalisation.)", "Ticket Holder", encode = FALSE) - else + else if(is_self == "Yes") ticket_holder = last_login if(!ticket_holder) return FALSE diff --git a/tgui/packages/tgui/interfaces/WorkingJoe.js b/tgui/packages/tgui/interfaces/WorkingJoe.js index 0244cc497013..7413e321308a 100644 --- a/tgui/packages/tgui/interfaces/WorkingJoe.js +++ b/tgui/packages/tgui/interfaces/WorkingJoe.js @@ -721,6 +721,9 @@ const AccessRequests = (props, context) => { Time + + For + Details @@ -764,6 +767,9 @@ const AccessRequests = (props, context) => { {ticket.time} + + {ticket.title} + {ticket.details}