forked from I2P_Developers/i2p.i2p
Fixed a few colspans that were missed when adding icon/thumbnail td
This commit is contained in:
@ -2053,7 +2053,7 @@ public class I2PSnarkServlet extends DefaultServlet {
|
|||||||
if (snark != null) {
|
if (snark != null) {
|
||||||
// first row - torrent info
|
// first row - torrent info
|
||||||
// FIXME center
|
// FIXME center
|
||||||
buf.append("<tr><th colspan=\"" + (showPriority ? '4' : '3') + "\"><div>")
|
buf.append("<tr><th colspan=\"" + (showPriority ? '5' : '4') + "\"><div>")
|
||||||
.append(_("Torrent")).append(": ").append(snark.getBaseName());
|
.append(_("Torrent")).append(": ").append(snark.getBaseName());
|
||||||
int pieces = snark.getPieces();
|
int pieces = snark.getPieces();
|
||||||
double completion = (pieces - snark.getNeeded()) / (double) pieces;
|
double completion = (pieces - snark.getNeeded()) / (double) pieces;
|
||||||
@ -2269,7 +2269,7 @@ public class I2PSnarkServlet extends DefaultServlet {
|
|||||||
buf.append("</TR>\n");
|
buf.append("</TR>\n");
|
||||||
}
|
}
|
||||||
if (showSaveButton) {
|
if (showSaveButton) {
|
||||||
buf.append("<thead><tr><th colspan=\"3\"> </th><th class=\"headerpriority\"><input type=\"submit\" value=\"");
|
buf.append("<thead><tr><th colspan=\"4\"> </th><th class=\"headerpriority\"><input type=\"submit\" value=\"");
|
||||||
buf.append(_("Save priorities"));
|
buf.append(_("Save priorities"));
|
||||||
buf.append("\" name=\"foo\" ></th></tr></thead>\n");
|
buf.append("\" name=\"foo\" ></th></tr></thead>\n");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user