GUAC-1172: Provide root-level breadcrumb.

This commit is contained in:
Michael Jumper
2015-07-03 12:40:11 -07:00
parent 94b022b513
commit cfd3710bf2
2 changed files with 19 additions and 14 deletions

View File

@@ -175,8 +175,11 @@
</div>
<!-- Breadcrumbs -->
<div class="header breadcrumbs" ng-show="getPath(filesystemMenuContents.currentDirectory).length">
<div class="breadcrumb" ng-repeat="file in getPath(filesystemMenuContents.currentDirectory)"
<div class="header breadcrumbs"><div
class="breadcrumb root"
ng-click="changeDirectory(filesystemMenuContents, filesystemMenuContents.root)"></div><div
class="breadcrumb"
ng-repeat="file in getPath(filesystemMenuContents.currentDirectory)"
ng-click="changeDirectory(filesystemMenuContents, file)">{{file.name}}</div>
</div>