4chan-x/src/General/Build/PostInfo.html
ccd0 7b604d5662 Revert "Remove /pol/ flags properly." #1403
This reverts commit 930a8a4307a32b5e75cd0ab1bbdf08367414afe3.
2017-06-13 08:18:07 -07:00

32 lines
2.1 KiB
HTML

<div class="postInfo desktop" id="pi${ID}">
<input type="checkbox" name="${ID}" value="delete">
?{!o.isReply || boardID === "f" || subject}{<span class="subject">${subject || ""}</span> }
<span class="nameBlock?{capcode}{ capcode${capcode}}">
?{email}{<a href="mailto:${encodeURIComponent(email).replace(/%40/g, "@")}" class="useremail">}
<span class="name?{capcode}{ capcode}">${name}</span>
?{tripcode}{ <span class="postertrip">${tripcode}</span>}
?{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 || 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}{
?{boardID === "pol"}{
\ <img src="${staticPath}country/troll/${flagCode.toLowerCase()}.gif" alt="${flagCode}" title="${flag}" class="countryFlag">
}{
\ <span title="${flag}" class="flag flag-${flagCode.toLowerCase()}"></span>
}
}
</span>
<span class="dateTime" data-utc="${dateUTC}">${dateText}</span>
<span class="postNum?{!(boardID === "f" && !o.isReply)}{ desktop}">
<a href="${postLink}" title="Link to this post">No.</a>
<a href="${quoteLink}" title="Reply to this post">${ID}</a>
?{o.isSticky}{ <img src="${staticPath}sticky${gifIcon}" alt="Sticky" title="Sticky" class="stickyIcon retina">}
?{o.isClosed && !o.isArchived}{ <img src="${staticPath}closed${gifIcon}" alt="Closed" title="Closed" class="closedIcon retina">}
?{o.isArchived}{ <img src="${staticPath}archived${gifIcon}" alt="Archived" title="Archived" class="archivedIcon retina">}
?{!o.isReply && g.VIEW === "index"}{ &nbsp; <span>[<a href="/${boardID}/thread/${threadID}" class="replylink">Reply</a>]</span>}
</span>
</div>