I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 81b2e6b7 authored by z3d's avatar z3d
Browse files

Fix a sidebar regression.

parent 43140d3e
No related branches found
No related tags found
No related merge requests found
...@@ -359,14 +359,14 @@ public class SummaryHelper extends HelperBase { ...@@ -359,14 +359,14 @@ public class SummaryHelper extends HelperBase {
if (ls != null) { if (ls != null) {
long timeToExpire = ls.getEarliestLeaseDate() - _context.clock().now(); long timeToExpire = ls.getEarliestLeaseDate() - _context.clock().now();
if (timeToExpire < 0) { if (timeToExpire < 0) {
buf.append("<tr><td colspan=\"2\"><i>expired ").append(DataHelper.formatDuration(0-timeToExpire)); buf.append("<tr><td>&nbsp;</td><td align=\"left\"><i>expired ").append(DataHelper.formatDuration(0-timeToExpire));
buf.append(" ago</i></td></tr>\n"); buf.append(" ago</i></td></tr>\n");
} }
} else { } else {
buf.append("<tr><td>&nbsp;</td><td align=\"left\"><i>No leases</i></td></tr>\n"); buf.append("<tr><td>&nbsp;</td><td align=\"left\"><i>No leases</i></td></tr>\n");
} }
} }
// buf.append("</table><hr />\n"); buf.append("</table><hr />\n");
return buf.toString(); return buf.toString();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment