mirror of https://github.com/zlatinb/muwire
remove fetch link, make the file name a link
parent
6bcc44e01e
commit
31cac25a23
|
@ -30,9 +30,9 @@ class Node {
|
|||
if (this.certified == "true")
|
||||
certified = _t("Certified")
|
||||
|
||||
var fetchLink = "<a href='/MuWire/DownloadedContent/" + this.infoHash + "'>" + _t("Fetch") + "</a>"
|
||||
var html = "<li>" + this.path
|
||||
html += "<div>" + unshareLink + " " + fetchLink + " " + commentLink + " " + certifyLink + " " + certified + "</div>"
|
||||
var nameLink = "<a href='/MuWire/DownloadedContent/" + this.infoHash + "'>" + this.path + "</a>"
|
||||
var html = "<li>" + nameLink
|
||||
html += "<div>" + unshareLink + " " + commentLink + " " + certifyLink + " " + certified + "</div>"
|
||||
html += "<div id='comment-" + this.nodeId + "'></div>"
|
||||
html += "</li>"
|
||||
|
||||
|
|
|
@ -20,9 +20,9 @@ class SharedFile {
|
|||
var showCommentLink = new Link(_t("Comment"), "showCommentForm", [this.path])
|
||||
showCommentHtml = "<span id='comment-link-" + this.path + "'>" + showCommentLink.render() + "</span>"
|
||||
var commentDiv = "<div class='right' id='comment-" + this.path + "'></div>"
|
||||
var fetchLink = "<a href='/MuWire/DownloadedContent/" + this.infoHash + "'>" + _t("Fetch") + "</a>"
|
||||
var nameLink = "<a href='/MuWire/DownloadedContent/" + this.infoHash + "'>" + this.name + "</a>"
|
||||
|
||||
var html = this.name + "<div class=\"right\">" + unshareLink.render() + " " + fetchLink + " " + showCommentHtml + " " + certifyHtml + "</div>"
|
||||
var html = nameLink + "<div class=\"right\">" + unshareLink.render() + " " + showCommentHtml + " " + certifyHtml + "</div>"
|
||||
html += commentDiv
|
||||
|
||||
mapping.set("File", html)
|
||||
|
|
Loading…
Reference in New Issue