summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-01-30 11:18:46 +0100
committerVincent Petry <pvince81@owncloud.com>2014-02-20 18:24:42 +0100
commit7c68025010f3aeb91b84663fb3239ae0d038b4e2 (patch)
treeffd657f1fec3e0420043461fc6e0b93e5c545bb8 /apps/files/templates
parent5cc4a47f4c714f2654b5845cf5acc4d56d63fc00 (diff)
downloadnextcloud-server-7c68025010f3aeb91b84663fb3239ae0d038b4e2.tar.gz
nextcloud-server-7c68025010f3aeb91b84663fb3239ae0d038b4e2.zip
adding share owner information to the file list
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/part.list.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index f4fb96a7a7c..9769affc70f 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -34,16 +34,16 @@ $totalsize = 0; ?>
<span class="nametext">
<?php print_unescaped(htmlspecialchars($file['name']));?>
</span>
+ <span class="uploadtext" currentUploads="0">
+ </span>
<?php else: ?>
<a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>">
<label class="filetext" title="" for="select-<?php p($file['fileid']); ?>"></label>
<span class="nametext"><?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span></span>
- </a>
<?php endif; ?>
- <?php if($file['type'] == 'dir'):?>
- <span class="uploadtext" currentUploads="0">
- </span>
- <?php endif;?>
+ <?php if(isset($file['displayname_owner'])): ?>
+ <span class="share-info"><?php p($l->t('shared by %s', array($file['displayname_owner']))) ?></span>
+ <?php endif; ?>
</a>
</td>
<td class="filesize"