From 2d8a5cccd94118a2df23c251260f6f266d63efde Mon Sep 17 00:00:00 2001 From: Kerrick Long Date: Mon, 30 Apr 2012 10:08:52 -0500 Subject: [PATCH] append a 'submit again' link to the list of posts --- css/popup.css | 1 + js/common.js | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/css/popup.css b/css/popup.css index 88a8161..9764cfc 100644 --- a/css/popup.css +++ b/css/popup.css @@ -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; diff --git a/js/common.js b/js/common.js index 1d22989..f00d037 100644 --- a/js/common.js +++ b/js/common.js @@ -1184,15 +1184,19 @@ Popup.prototype.createListHTML = function (url) { listHTML += ''; listHTML += ''; }); - - listHTML += '' - + + listHTML += ''; + listHTML += ''; + if (staleCounter > 0) { listHTML += '
' + chrome.i18n.getMessage('stale_posts_hiding', staleCounter.toString()) + '
'; } - + return listHTML; - + }; /**