From b33a435b2ca54a5604c65186d2a7f86708d31cd7 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Fri, 27 May 2016 12:50:37 +0000 Subject: [PATCH] SSDM-3706 : Fix marging of non links and adding '/' at the end of the directories SVN: 36588 --- .../dss/generic/server/SimpleHTMLDirectoryRenderer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/SimpleHTMLDirectoryRenderer.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/SimpleHTMLDirectoryRenderer.java index 5708a22159d..af38ca95d55 100644 --- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/SimpleHTMLDirectoryRenderer.java +++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/SimpleHTMLDirectoryRenderer.java @@ -51,7 +51,7 @@ final class SimpleHTMLDirectoryRenderer implements IDirectoryRenderer private static final Template ROW_TEMPLATE_NO_LINK = new Template( - "<tr><td class='td_file'>${name}</td><td>${size}</td><td>${checksum}</td></tr>"); + "<tr><td class='td_file'><span>${name}</span></td><td>${size}</td><td>${checksum}</td></tr>"); private static final Template HEADER_TEMPLATE = new Template("<html><head>" + CSS + "</head><body>" + "<table> " + "${folder}" + ""); @@ -104,7 +104,7 @@ final class SimpleHTMLDirectoryRenderer implements IDirectoryRenderer @Override public void printDirectory(final String name, final String aRelativePath, final long size, final Boolean disableLinks) { - printRow(name, aRelativePath, DirectoryRendererUtil.renderFileSize(size), "", true, disableLinks); + printRow(name + "/", aRelativePath, DirectoryRendererUtil.renderFileSize(size), "", true, disableLinks); } @Override -- GitLab