fix popup based on torrent type

This commit is contained in:
zzz
2009-12-02 16:50:42 +00:00
parent 9e4f04cc18
commit 9f7bd99051

View File

@ -496,9 +496,14 @@ public class I2PSnarkServlet extends HttpServlet {
out.write(statusString + "</td>\n\t");
out.write("<td align=\"left\" class=\"snarkTorrentName " + rowClass + "\">");
if (remaining == 0)
if (remaining == 0) {
out.write("<a href=\"" + _manager.linkPrefix() + snark.meta.getName()
+ "\" title=\"View file\">");
+ "\" title=\"");
if (snark.meta.getFiles() != null)
out.write("View files\">");
else
out.write("Open file\">");
}
out.write(filename);
if (remaining == 0)
out.write("</a>");