mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Updates href uses for 516 (#88699)
## About The Pull Request Was just scrolling through the Paradise github since they seem to have more work done for 516 to see if there's anything I can port over, found this and thought why not. Ports parts of https://github.com/ParadiseSS13/Paradise/pull/25105 Specifically, updaing all hrefs to use the internal ``byond://``, and adding it to grep. ## Why It's Good For The Game More work towards 516. ## Changelog Nothing player-facing.
This commit is contained in:
@@ -44,13 +44,13 @@
|
||||
dat += "<h1> Unregistered. Swipe ID card to register as voting box operator </h1>"
|
||||
dat += "<h1>[vote_description]</h1>"
|
||||
if(is_operator(user))
|
||||
dat += "Voting: <a href='?src=[REF(src)];act=toggle_vote'>[voting_active ? "Active" : "Maintenance Mode"]</a><br>"
|
||||
dat += "Set Description: <a href='?src=[REF(src)];act=set_desc'>Set Description</a><br>"
|
||||
dat += "One vote per ID: <a href='?src=[REF(src)];act=toggle_auth'>[id_auth ? "Yes" : "No"]</a><br>"
|
||||
dat += "Reset voted ID's: <a href='?src=[REF(src)];act=reset_voted'>Reset</a><br>"
|
||||
dat += "Draw random vote: <a href='?src=[REF(src)];act=raffle'>Raffle</a><br>"
|
||||
dat += "Shred votes: <a href='?src=[REF(src)];act=shred'>Shred</a><br>"
|
||||
dat += "Tally votes: <a href='?src=[REF(src)];act=tally'>Tally</a><br>"
|
||||
dat += "Voting: <a href='byond://?src=[REF(src)];act=toggle_vote'>[voting_active ? "Active" : "Maintenance Mode"]</a><br>"
|
||||
dat += "Set Description: <a href='byond://?src=[REF(src)];act=set_desc'>Set Description</a><br>"
|
||||
dat += "One vote per ID: <a href='byond://?src=[REF(src)];act=toggle_auth'>[id_auth ? "Yes" : "No"]</a><br>"
|
||||
dat += "Reset voted ID's: <a href='byond://?src=[REF(src)];act=reset_voted'>Reset</a><br>"
|
||||
dat += "Draw random vote: <a href='byond://?src=[REF(src)];act=raffle'>Raffle</a><br>"
|
||||
dat += "Shred votes: <a href='byond://?src=[REF(src)];act=shred'>Shred</a><br>"
|
||||
dat += "Tally votes: <a href='byond://?src=[REF(src)];act=tally'>Tally</a><br>"
|
||||
|
||||
var/datum/browser/popup = new(user, "votebox", "Voting Box", 300, 300)
|
||||
popup.set_content(dat.Join())
|
||||
|
||||
Reference in New Issue
Block a user