Merge pull request #13704 from owncloud/issue/13571-indicate-remote-sharee-in-filelist
Indicate that the share owner is remote in the filelist
This commit is contained in:
commit
e0b0643528
2 changed files with 6 additions and 3 deletions
|
@ -203,6 +203,9 @@ OC.Share={
|
|||
tooltip += '@' + userDomain;
|
||||
}
|
||||
if (server) {
|
||||
if (!userDomain) {
|
||||
userDomain = '…';
|
||||
}
|
||||
tooltip += '@' + server;
|
||||
}
|
||||
|
||||
|
|
|
@ -702,17 +702,17 @@ describe('OC.Share tests', function() {
|
|||
it('displays the user name part of a remote share owner', function() {
|
||||
checkOwner(
|
||||
'User One@someserver.com',
|
||||
'User One',
|
||||
'User One@…',
|
||||
'User One@someserver.com'
|
||||
);
|
||||
checkOwner(
|
||||
'User One@someserver.com/',
|
||||
'User One',
|
||||
'User One@…',
|
||||
'User One@someserver.com'
|
||||
);
|
||||
checkOwner(
|
||||
'User One@someserver.com/root/of/owncloud',
|
||||
'User One',
|
||||
'User One@…',
|
||||
'User One@someserver.com'
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue