diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-15 13:36:14 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-15 13:36:14 +0100 |
commit | d279ddd9a25286bed6817413cc69987d57695e3b (patch) | |
tree | bd357849fd1ea57a1c3f91333cbf61443b382ca6 /apps/files/templates | |
parent | d1f3f121d6992be07c3600882449ce17d56f116f (diff) | |
download | nextcloud-server-d279ddd9a25286bed6817413cc69987d57695e3b.tar.gz nextcloud-server-d279ddd9a25286bed6817413cc69987d57695e3b.zip |
Show the name of the shared folder in the breadcrumb when viewing a publicly shared folder
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/part.breadcrumb.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files/templates/part.breadcrumb.php b/apps/files/templates/part.breadcrumb.php index 90d07d4336c..2a0df622767 100644 --- a/apps/files/templates/part.breadcrumb.php +++ b/apps/files/templates/part.breadcrumb.php @@ -1,6 +1,10 @@ <div class="crumb <?php if(!count($_["breadcrumb"])) p('last');?>" data-dir=''> <a href="<?php print_unescaped($_['baseURL']); ?>"> - <img src="<?php print_unescaped(OCP\image_path('core', 'places/home.svg'));?>" class="svg" /> + <?php if(isset($_['rootBreadCrumb'])): + echo $_['rootBreadCrumb']; + else:?> + <img src="<?php print_unescaped(OCP\image_path('core', 'places/home.svg'));?>" class="svg" /> + <?php endif;?> </a> </div> <?php for($i=0; $i<count($_["breadcrumb"]); $i++): |