diff --git a/js/Article.js b/js/Article.js index 08b565695..35b282d5d 100644 --- a/js/Article.js +++ b/js/Article.js @@ -156,14 +156,14 @@ define(["dojo/_base/declare"], function (declare) { comments_msg = hl.num_comments + " " + ngettext("comment", "comments", hl.num_comments) } - comments = `(${comments_msg})`; + comments = `(${comments_msg})`; } return comments; }, formatOriginallyFrom: function(hl) { return hl.orig_feed ? ` - ${__('Originally from:')} ${hl.orig_feed[0]} + ${__('Originally from:')} ${hl.orig_feed[0]} ` : ""; }, unpack: function(row) { @@ -197,7 +197,9 @@ define(["dojo/_base/declare"], function (declare) { const article = `
- +
${hl.updated_long}
diff --git a/js/Headlines.js b/js/Headlines.js index d54ff4d4f..540c400d3 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -444,9 +444,15 @@ define(["dojo/_base/declare"], function (declare) { const comments = Article.formatComments(hl); const originally_from = Article.formatOriginallyFrom(hl); - row = `
+ row = `
@@ -456,7 +462,7 @@ define(["dojo/_base/declare"], function (declare) {
- + ${hl.title} ${hl.author} ${hl.labels} @@ -473,7 +479,7 @@ define(["dojo/_base/declare"], function (declare) {
${Article.getScorePic(hl.score)} - + ${hl.feed_icon}
@@ -508,8 +514,14 @@ define(["dojo/_base/declare"], function (declare) { } else { - row = `
+ row = `
star @@ -517,7 +529,7 @@ define(["dojo/_base/declare"], function (declare) {
- ${hl.title} ${hl.content_preview} + ${hl.title} ${hl.content_preview} ${hl.author} ${hl.labels} @@ -530,7 +542,7 @@ define(["dojo/_base/declare"], function (declare) {
${Article.getScorePic(hl.score)} - ${hl.feed_icon} + ${hl.feed_icon}
`;