forked from I2P_Developers/i2p.i2p
i2psnark: Show subdirectory in table header on details page
This commit is contained in:
@ -2896,6 +2896,11 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
: tx + ": " + directory);
|
||||
if (showSort)
|
||||
buf.append("</a>");
|
||||
int dirSlash = directory.indexOf("/");
|
||||
if (dirSlash > 0) {
|
||||
buf.append(" ");
|
||||
buf.append(DataHelper.escapeHTML(directory.substring(dirSlash + 1)));
|
||||
}
|
||||
buf.append("</th>\n<th align=\"right\">");
|
||||
if (showSort) {
|
||||
sort = ("5".equals(sortParam)) ? "-5" : "5";
|
||||
|
Reference in New Issue
Block a user