diff --git a/webui/src/main/js/filesTable.js b/webui/src/main/js/filesTable.js index 3d31176d..588113b6 100644 --- a/webui/src/main/js/filesTable.js +++ b/webui/src/main/js/filesTable.js @@ -29,15 +29,18 @@ class SharedFile { published = "" } + var infoHashTextArea = "" + var copyInfoHashLink = new Link(_t("Copy hash to clipboard"), "copyAndAlert", [this.infoHash, _t("Hash copied to clipboard")]) + var showCommentHtml = "" var showCommentLink = new Link(_t("Comment"), "showCommentForm", [this.path]) showCommentHtml = "" + showCommentLink.render() + "" var commentDiv = "
" var nameLink = "" + this.name + "" - var html = nameLink + "
" + certified + " " + published + " " + var html = nameLink + infoHashTextArea + "
" + certified + " " + published + " " html += "
" html += "
" + commentDiv