flagName -> flag

This commit is contained in:
ccd0 2015-04-12 20:06:14 -07:00
parent 3f20df86e5
commit 08a8069d2a
3 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ Build =
email: Build.unescape data.email email: Build.unescape data.email
subject: Build.unescape data.sub subject: Build.unescape data.sub
flagCode: data.country flagCode: data.country
flagName: Build.unescape data.country_name flag: Build.unescape data.country_name
date: data.now date: data.now
dateUTC: data.time dateUTC: data.time
comment: {innerHTML: data.com or ''} comment: {innerHTML: data.com or ''}
@ -77,7 +77,7 @@ Build =
### ###
{ {
postID, threadID, boardID postID, threadID, boardID
name, capcode, capcodeHighlight, tripcode, uniqueID, email, subject, flagCode, flagName, date, dateUTC name, capcode, capcodeHighlight, tripcode, uniqueID, email, subject, flagCode, flag, date, dateUTC
comment comment
file, fileDeleted file, fileDeleted
} = o } = o

View File

@ -10,7 +10,7 @@
?{boardID === "f" && isOP || capcode}{}{ } ?{boardID === "f" && isOP || capcode}{}{ }
?{capcode}{ <img src="${staticPath}${capcodeLC}icon${gifIcon}" alt="${capcodeUC} Icon" title="This user is ${capcodeDescription}." class="identityIcon retina">} ?{capcode}{ <img src="${staticPath}${capcodeLC}icon${gifIcon}" alt="${capcodeUC} 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>} ?{uniqueID && !capcode}{ <span class="posteruid id_${uniqueID}">(ID: <span class="hand" title="Highlight posts by this ID">${uniqueID}</span>)</span>}
?{flagCode}{ <span title="${flagName}" class="flag flag-${flagCode.toLowerCase()}"></span>} ?{flagCode}{ <span title="${flag}" class="flag flag-${flagCode.toLowerCase()}"></span>}
</span> </span>
<span class="dateTime" data-utc="${dateUTC}">${date}</span> <span class="dateTime" data-utc="${dateUTC}">${date}</span>
<span class="postNum?{!(boardID === "f" && isOP)}{ desktop}"> <span class="postNum?{!(boardID === "f" && isOP)}{ desktop}">

View File

@ -141,7 +141,7 @@ class Fetcher
email: data.email email: data.email
subject: data.title subject: data.title
flagCode: data.poster_country flagCode: data.poster_country
flagName: data.poster_country_name flag: data.poster_country_name
date: data.fourchan_date date: data.fourchan_date
dateUTC: data.timestamp dateUTC: data.timestamp
comment: comment comment: comment