mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 14:37:04 +01:00
Account for censorship screens
This commit is contained in:
@@ -252,7 +252,7 @@ var/list/obj/machinery/newscaster/allCasters = list() //Global list that will co
|
||||
var/list/messages = list()
|
||||
data["messages"] = messages
|
||||
for(var/datum/feed_message/M in viewing_channel.messages)
|
||||
messages[++messages.len] = list("body" = M.body, "body_redacted" = (M.body == REDACTED ? 1 : 0) , "message_type" = M.message_type, "author" = M.author, "author_redacted" = (M.author == REDACTED ? 1 : 0), "ref" = "\ref[M]", "view_count" = M.view_count)
|
||||
messages[++messages.len] = list("title" = M.title, "body" = M.body, "body_redacted" = (M.body == REDACTED ? 1 : 0) , "message_type" = M.message_type, "author" = M.author, "author_redacted" = (M.author == REDACTED ? 1 : 0), "ref" = "\ref[M]", "view_count" = M.view_count)
|
||||
if(10)
|
||||
var/wanted_already = 0
|
||||
var/end_param = 1
|
||||
|
||||
@@ -206,7 +206,8 @@ Property of Nanotrasen</font><br>
|
||||
<i>{{:helper.link(data.author_redacted ? 'Undo author censorship' : 'Censor channel author', null, {'censor_channel_author' : data.ref})}}</i><br><hr>
|
||||
{{for data.messages}}
|
||||
<div class='statusDisplay'>
|
||||
- {{:value.body}}<br>
|
||||
<b>{{:value.title}}</b><br>
|
||||
{{:value.body}}<br>
|
||||
{{if value.img}}
|
||||
<img src='{{:value.img}}' width=180><br>
|
||||
{{/if}}
|
||||
@@ -234,7 +235,8 @@ Property of Nanotrasen</font><br>
|
||||
{{else}}
|
||||
{{for data.messages}}
|
||||
<div class='statusDisplay'>
|
||||
- {{:value.body}}<br>
|
||||
<b>{{:value.title}}</b><br>
|
||||
{{:value.body}}<br>
|
||||
{{if value.img}}
|
||||
<img src='{{:value.img}}' width=180><br>
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user