use pre.comment for trust reasons

This commit is contained in:
Zlatin Balevsky
2019-12-17 07:09:37 +00:00
parent f05b6d0b40
commit dd0bd6f5f8
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class Persona {
userHtml += "<div class='centercomment' id='distrusted-" + this.userB64 + "'></div>"
mapping.set("Trusted User", userHtml)
mapping.set("Distrusted User", userHtml)
mapping.set("Reason", this.reason)
mapping.set("Reason", "<pre class='comment'>" + this.reason + "</pre>")
mapping.set("Your Trust", this.status)
return mapping

View File

@ -29,7 +29,7 @@ class Persona {
}
mapping.set("User", nameHtml)
mapping.set("Reason", this.reason)
mapping.set("Reason", "<pre class='comment'>" + this.reason + "</pre>")
if (trusted) {
var subscribeHtml = _t("Subscribed")