Commit ad427ea887827a2ec337b4f31181b1a95d92f28d

Authored by Jelena Cule
1 parent 4deefbf08a
Exists in master

removing because it is moved to different folder

share-amp/src/main/amp/config/alfresco/extension/templates/webscripts/org/alfresco/skype/skype.get.desc.xml
1 <webscript> File was deleted
2 <shortname>Skype</shortname>
3 <description>Skype Integration</description>
4 <family>Share</family>
5 <format default="json" />
6 <url>/skype</url>
7 </webscript>
share-amp/src/main/amp/config/alfresco/extension/templates/webscripts/org/alfresco/skype/skype.get.html.ftl
1 { File was deleted
2 userId:${profile.id},
3 skypeId:${profile.skype}
4 }
share-amp/src/main/amp/config/alfresco/extension/templates/webscripts/org/alfresco/skype/skype.get.js
1 function main() File was deleted
2 {
3 var profileId = page.url.templateArgs["userid"];
4 if (profileId != null)
5 {
6 // load user details for the profile from the repo
7 var userObj = user.getUser(profileId);
8 if (userObj != null)
9 {
10 model.profile = userObj;
11 }
12 else
13 {
14 // fallback if unable to get user details
15 model.profile = user.getUser(user.id);
16 }
17 }
18 else
19 {
20 // if no profile specified, must be current user
21 model.profile = user.getUser(user.id);
22 }
23 };
24
25 main();