diff options
Diffstat (limited to 'src/main/resources/views/files.rocker.html')
-rw-r--r-- | src/main/resources/views/files.rocker.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html index 3fa4a3e..7b2e58b 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -18,6 +18,7 @@ <div class="drop" id="drop"> <h2 class="navigation"> <i class="icon ion-md-home"></i> + @if (!isShared) { @for (int i = 0; i < path.split("/").length - 1; i++) { <a href='@(new String(new char[path.split("/").length - i - 1]).replace("\0", "../"))'>@path.split("/")[i]</a> <i class='icon ion-ios-arrow-forward'></i> @@ -25,6 +26,9 @@ @if (path.split("/").length > 0) { <a href="">@(path.split("/")[path.split("/").length - 1])</a> } + } else { + <a href="">@(path.split("/")[path.split("/").length - 1])</a> + } </h2> <table id="table"> |