tx translation update

This commit is contained in:
Julian Lam
2014-02-18 10:30:11 -05:00
parent 1712fcc9fe
commit 3b4985efe5
54 changed files with 169 additions and 64 deletions

View File

@@ -23,11 +23,11 @@ define(function() {
var image = '';
for (x = 0; x < numUnread; x++) {
if (data.unread[x].image) {
image = '<img src="' + data.unread[x].image + '" />';
image = '<img class="image" src="' + data.unread[x].image + '" />';
} else {
image = '';
}
notifList.append($('<li class="' + data.unread[x].readClass + '"><a href="' + data.unread[x].path + '">' + image + '<span class="pull-right relTime">' + utils.relativeTime(data.unread[x].datetime, true) + '</span><span class="text">' + data.unread[x].text + '</span></a></li>'));
notifList.append($('<li class="' + (data.unread[x].readClass || '') + '"><a href="' + data.unread[x].path + '">' + image + '<span class="pull-right relTime">' + utils.relativeTime(data.unread[x].datetime, true) + '</span><span class="text">' + data.unread[x].text + '</span></a></li>'));
}
for (x = 0; x < numRead; x++) {