Commit 716db2c3 authored by Julien Wollbrett's avatar Julien Wollbrett

correct path to download files in species page

parent 49fe8426
......@@ -317,7 +317,8 @@ public class HtmlSpeciesDisplay extends HtmlParentDisplay implements SpeciesDisp
if (file.isPresent()) {
DownloadFile downloadFile = file.get();
return log.exit("<li><p>" + label + ": " +
"<a class='btn btn-default btn-xs' href='" + downloadFile.getPath() + "'>" +
"<a class='btn btn-default btn-xs' href='" +
this.prop.getDownloadRootDirectory() + downloadFile.getPath() + "'>" +
downloadFile.getName() + "</a> (" +
FileUtils.byteCountToDisplaySize(downloadFile.getSize()) + ")</p></li>");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment