mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
Adds a quick way to view notes from ticket panel (#69988)
* Adds a quick way to view notes from ticket panel One thing that I hear be thrown around administration channels a lot is "If I had checked the notes, I would have been more fair on their ban!". Well, have a fast way to keep checking those notes!
This commit is contained in:
@@ -363,6 +363,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
|
||||
if(!ref_src)
|
||||
ref_src = "[REF(src)]"
|
||||
. = ADMIN_FULLMONTY_NONAME(initiator.mob)
|
||||
. += " (<A href='?_src_=holder;[HrefToken()];showmessageckey=[initiator.ckey]'>NOTES</A>)"
|
||||
if(state == AHELP_ACTIVE)
|
||||
if (CONFIG_GET(flag/popup_admin_pm))
|
||||
. += " (<A HREF='?_src_=holder;[HrefToken(forceGlobal = TRUE)];adminpopup=[REF(initiator)]'>POPUP</A>)"
|
||||
@@ -566,7 +567,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
|
||||
continue
|
||||
dat += "[related_ticket.TicketHref("#[related_ticket.id]")] ([related_ticket.ticket_status()]): [related_ticket.name]<br/>"
|
||||
|
||||
usr << browse(dat.Join(), "window=ahelp[id];size=700x480")
|
||||
usr << browse(dat.Join(), "window=ahelp[id];size=750x480")
|
||||
|
||||
/**
|
||||
* Renders the current status of the ticket into a displayable string
|
||||
|
||||
Reference in New Issue
Block a user