diff --git a/gulp/res/js/post.js b/gulp/res/js/post.js index e4eac523..4a5f291b 100644 --- a/gulp/res/js/post.js +++ b/gulp/res/js/post.js @@ -9,7 +9,7 @@ function pug_style(r){if(!r)return"";if("object"==typeof r){var t="";for(var e i var block = (this && this.block), attributes = (this && this.attributes) || {}; pug_html = pug_html + "\u003Cdiv class=\"reports post-container\"\u003E\u003Cinput" + (" class=\"post-check\""+" type=\"checkbox\" name=\"checkedreports\""+pug_attr("value", r.id, true, false)) + "\u002F\u003E Date: "; const reportDate = new Date(r.date); -pug_html = pug_html + "\u003Cspan" + (" class=\"reltime\""+pug_attr("datetime", reportDate.toISOString(), true, false)) + "\u003E" + (pug_escape(null == (pug_interp = reportDate.toLocaleString(undefined, { hour12:false })) ? "" : pug_interp)) + "\u003C\u002Fspan\u003E Reason: " + (pug_escape(null == (pug_interp = r.reason) ? "" : pug_interp)) + "\u003C\u002Fdiv\u003E"; +pug_html = pug_html + "\u003Ctime" + (" class=\"reltime\""+pug_attr("datetime", reportDate.toISOString(), true, false)) + "\u003E" + (pug_escape(null == (pug_interp = reportDate.toLocaleString(undefined, { hour12:false })) ? "" : pug_interp)) + "\u003C\u002Ftime\u003E Reason: " + (pug_escape(null == (pug_interp = r.reason) ? "" : pug_interp)) + "\u003C\u002Fdiv\u003E"; }; pug_mixins["post"] = pug_interp = function(post, truncate, manage=false, globalmanage=false, ban=false){ var block = (this && this.block), attributes = (this && this.attributes) || {}; diff --git a/views/includes/filelabel.pug b/views/includes/filelabel.pug index 942a2176..a22f7e61 100644 --- a/views/includes/filelabel.pug +++ b/views/includes/filelabel.pug @@ -1,4 +1,3 @@ label.jsonly.postform-style.filelabel(for='file') | Select/Drop/Paste file(s) - if board != null - small (Max #{board.settings.maxFiles}) + small (Max #{thread || threads ? board.settings.maxFiles : globalLimits.bannerFiles.max})