append a 'submit again' link to the list of posts

This commit is contained in:
Kerrick Long
2012-04-30 10:08:52 -05:00
parent d50d055347
commit 2d8a5cccd9
2 changed files with 10 additions and 5 deletions
+1
View File
@@ -178,6 +178,7 @@ ol[data-commentspage="true"] button.cancel {
letter-spacing:-1px;
line-height:29px;
height:29px;
margin: 5px 0 0 62px;
}
.morelink:hover, .mlh {
border-color:#879eb4;
+9 -5
View File
@@ -1184,15 +1184,19 @@ Popup.prototype.createListHTML = function (url) {
listHTML += '</form>';
listHTML += '</li>';
});
listHTML += '</ol>'
listHTML += '</ol>';
listHTML += '<div class="morelink">';
listHTML += '<a onclick="popup.replaceWithSubmitForm()">' + chrome.i18n.getMessage('submit_again') + '</a>';
listHTML += '<div class="nub"></div>';
listHTML += '</div>';
if (staleCounter > 0) {
listHTML += '<div id="information">' + chrome.i18n.getMessage('stale_posts_hiding', staleCounter.toString()) + '</div>';
}
return listHTML;
};
/**