mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-10 15:45:05 +01:00
[MIRROR] Adds a quick way to view notes from ticket panel [MDB IGNORE] (#16366)
* 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! * Adds a quick way to view notes from ticket panel Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
@@ -383,6 +383,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>)"
|
||||
@@ -610,7 +611,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