Fix appearance of the new ##Verified capcode in posts added by updater and cross-thread quote previews.

This commit is contained in:
ccd0 2017-01-25 09:18:16 -08:00
parent 69727cea2c
commit d717e4889d
2 changed files with 5 additions and 2 deletions

View File

@ -114,6 +114,9 @@ Build =
if capcode is 'Founder'
capcodePlural = 'the Founder'
capcodeDescription = "4chan's Founder"
else if capcode is 'Verified'
capcodePlural = 'Verified Users'
capcodeDescription = ''
else
capcodeLong = {'Admin': 'Administrator', 'Mod': 'Moderator'}[capcode] or capcode
capcodePlural = "#{capcodeLong}s"

View File

@ -8,8 +8,8 @@
?{pass}{ <span title="Pass user since ${pass}" class="n-pu"></span>}
?{capcode}{ <strong class="capcode hand id_${capcodeLC}" title="Highlight posts by ${capcodePlural}">## ${capcode}</strong>}
?{email}{</a>}
?{boardID === "f" && !o.isReply || capcode}{}{ }
?{capcode}{ <img src="${staticPath}${capcodeLC}icon${gifIcon}" alt="${capcode} Icon" title="This user is ${capcodeDescription}." class="identityIcon retina">}
?{boardID === "f" && !o.isReply || capcodeDescription}{}{ }
?{capcodeDescription}{ <img src="${staticPath}${capcodeLC}icon${gifIcon}" alt="${capcode} Icon" title="This user is ${capcodeDescription}." class="identityIcon retina">}
?{uniqueID && !capcode}{ <span class="posteruid id_${uniqueID}">(ID: <span class="hand" title="Highlight posts by this ID">${uniqueID}</span>)</span>}
?{flagCode}{ <span title="${flag}" class="flag flag-${flagCode.toLowerCase()}"></span>}
</span>