Add content warning classnames for pleroma-fe to style
This commit is contained in:
parent
d386e8a825
commit
9ffe54d70c
|
@ -233,7 +233,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
|
||||||
|
|
||||||
content =
|
content =
|
||||||
if !!summary and summary != "" do
|
if !!summary and summary != "" do
|
||||||
"<span>#{activity.data["object"]["summary"]}</span><br />#{content}</span>"
|
"<span class=\"contentWarningText\">#{activity.data["object"]["summary"]}</span><br /><span class=\"contentWarning\">#{content}</span>"
|
||||||
else
|
else
|
||||||
content
|
content
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue