Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
3f8e850d
Commit
3f8e850d
authored
Jan 27, 2015
by
Joas Schilling
Browse files
Indicate that the share owner is remote in the filelist
parent
956de27e
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/js/share.js
View file @
3f8e850d
...
...
@@ -203,6 +203,9 @@ OC.Share={
tooltip
+=
'
@
'
+
userDomain
;
}
if
(
server
)
{
if
(
!
userDomain
)
{
userDomain
=
'
…
'
;
}
tooltip
+=
'
@
'
+
server
;
}
...
...
core/js/tests/specs/shareSpec.js
View file @
3f8e850d
...
...
@@ -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
'
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment