Share Dialog: show Displayname instead of internal name
This commit is contained in:
parent
78c694b6ee
commit
3af61a0a7c
|
@ -271,7 +271,7 @@ OC.Share={
|
||||||
}
|
}
|
||||||
var collectionList = $('#shareWithList li').filterAttr('data-collection', item);
|
var collectionList = $('#shareWithList li').filterAttr('data-collection', item);
|
||||||
if (collectionList.length > 0) {
|
if (collectionList.length > 0) {
|
||||||
$(collectionList).append(', '+shareWith);
|
$(collectionList).append(', '+shareWithDisplayName);
|
||||||
} else {
|
} else {
|
||||||
var html = '<li style="clear: both;" data-collection="'+item+'">'+t('core', 'Shared in {item} with {user}', {'item': item, user: shareWithDisplayName})+'</li>';
|
var html = '<li style="clear: both;" data-collection="'+item+'">'+t('core', 'Shared in {item} with {user}', {'item': item, user: shareWithDisplayName})+'</li>';
|
||||||
$('#shareWithList').prepend(html);
|
$('#shareWithList').prepend(html);
|
||||||
|
|
Loading…
Reference in New Issue