[MIRROR] Fixes the issues with the ban video by moving the link to ban appeals to after the video. [MDB IGNORE] (#9316)

* Fixes the issues with the ban video by moving the link to ban appeals to after the video. (#62675)

About The Pull Request

See title.
Fixes #62672
Why It's Good For The Game

Allows us to keep the excellent ban video while nullifying the issue raised in #62672
Changelog

cl
admin: The banning video is now shown before the ban appeals link, instead of after, to improve visibility of the ban appeals link.
/cl

* Fixes the issues with the ban video by moving the link to ban appeals to after the video.

Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
This commit is contained in:
SkyratBot
2021-11-08 22:25:58 +00:00
committed by GitHub
parent ca387cae03
commit 45ad3f5e6e
+2 -2
View File
@@ -1070,8 +1070,8 @@
var/is_admin = FALSE
if(player_client)
build_ban_cache(player_client)
to_chat(player_client, span_boldannounce("[banned_player_message]<br><span class='danger'>To appeal this ban go to [appeal_url]"), confidential = TRUE)
to_chat(player_client, "<video controls width=\"250\" autoplay ><source src=\"https://www.tgstation13.download/byond/ban.mp4\" type=\"video/mp4\">Sorry, your browser does not support embedded videos</video>");
to_chat(player_client, span_boldannounce("[banned_player_message]<br><span class='danger'>To appeal this ban go to [appeal_url]"), confidential = TRUE)
if(GLOB.admin_datums[player_client.ckey] || GLOB.deadmins[player_client.ckey])
is_admin = TRUE
if(kick_banned_players && (!is_admin || (is_admin && applies_to_admins)))
@@ -1080,8 +1080,8 @@
for(var/client/other_player_client in GLOB.clients - player_client)
if(other_player_client.address == banned_player_ip || other_player_client.computer_id == banned_player_cid)
build_ban_cache(other_player_client)
to_chat(other_player_client, span_boldannounce("[banned_other_message]<br><span class='danger'>To appeal this ban go to [appeal_url]"), confidential = TRUE)
to_chat(other_player_client, "<video controls width=\"250\" autoplay ><source src=\"https://www.tgstation13.download/byond/ban.mp4\" type=\"video/mp4\">Sorry, your browser does not support embedded videos</video>");
to_chat(other_player_client, span_boldannounce("[banned_other_message]<br><span class='danger'>To appeal this ban go to [appeal_url]"), confidential = TRUE)
if(GLOB.admin_datums[other_player_client.ckey] || GLOB.deadmins[other_player_client.ckey])
is_admin = TRUE
if(kick_banned_players && (!is_admin || (is_admin && applies_to_admins)))