Show info relating to April 2019 event. #2266
This commit is contained in:
parent
21f0dbfd46
commit
2da007c291
@ -5,6 +5,7 @@
|
||||
?{email}{<a href="mailto:${encodeURIComponent(email).replace(/%40/g, "@")}" class="useremail">}
|
||||
<span class="name?{capcode}{ capcode}">${name}</span>
|
||||
?{tripcode}{ <span class="postertrip">${tripcode}</span>}
|
||||
?{o.xa19s}{<span class="like-score">${o.xa19s}</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>}
|
||||
@ -18,6 +19,7 @@
|
||||
<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.isReply}{<a data-cmd="like-post" href="#" class="like-btn">Like!?{o.xa19l}{ ×${o.xa19l}}</a>}
|
||||
?{o.isSticky}{ <img src="${staticPath}sticky${gifIcon}" alt="Sticky" title="Sticky"?{boardID === "f"}{ style="height: 18px; width: 18px;"}{ class="stickyIcon retina"}>}
|
||||
?{o.isClosed && !o.isArchived}{ <img src="${staticPath}closed${gifIcon}" alt="Closed" title="Closed"?{boardID === "f"}{ style="height: 18px; width: 18px;"}{ class="closedIcon retina"}>}
|
||||
?{o.isArchived}{ <img src="${staticPath}archived${gifIcon}" alt="Archived" title="Archived" class="archivedIcon retina">}
|
||||
|
||||
@ -846,7 +846,12 @@ QR =
|
||||
|
||||
QR.cleanNotifications()
|
||||
if Conf['Posting Success Notifications']
|
||||
QR.notifications.push new Notice 'success', h1.textContent, 5
|
||||
{textContent} = h1
|
||||
timeout = 5
|
||||
if (xa19 = resDoc.firstChild.textContent.match(/xa19:(.*):xa19/))
|
||||
textContent += " (score/perks: #{xa19[1]})"
|
||||
timeout = 20
|
||||
QR.notifications.push new Notice 'success', textContent, timeout
|
||||
|
||||
QR.cooldown.add threadID, postID
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user