space out links in trust users view

pull/34/head
Zlatin Balevsky 2019-12-16 01:32:00 +00:00
parent dc8dd96495
commit d87bec927d
1 changed files with 7 additions and 1 deletions

View File

@ -11,13 +11,19 @@ class Persona {
getMapping(trusted) {
var mapping = new Map()
var nameHtml = this.user
var nameHtml = "<table><tr><td>" + this.user + "</td>"
if (trusted) {
nameHtml += "<td><p align='right'>"
nameHtml += this.getNeutralLink()
nameHtml += " "
nameHtml += this.getDistrustedBlock()
nameHtml += "</p></td></tr></table>"
} else {
nameHtml += "<td><p align='right'>"
nameHtml += this.getTrustedBlock()
nameHtml += " "
nameHtml += this.getNeutralLink()
nameHtml += "</p></td></tr></table>"
}
mapping.set("User", nameHtml)