New Activity Messages (ALF-3626), fixes Google Docs (ALF-2698) and Inline Edit issues (ALF-2998)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Webster
2010-08-03 08:11:48 +00:00
parent fac612f159
commit 837507b722
4 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<#include "../slingshot-common.lib.ftl">
<entry xmlns='http://www.w3.org/2005/Atom'>
<title>File checked in from Google Docs: ${htmlTitle?xml}</title>
<link rel="alternate" type="text/html" href="" />
<id>${id}</id>
<updated>${xmldate(date)}</updated>
<summary type="html">
<![CDATA[&quot;${htmlTitle}&quot; document checked in from Google Docs by ${userName?html}.]]>
</summary>
<author>
<name>${userName?xml}</name>
<uri>${userId?xml}</uri>
</author>
</entry>

View File

@@ -0,0 +1,14 @@
<#include "../slingshot-common.lib.ftl">
<entry xmlns='http://www.w3.org/2005/Atom'>
<title>File checked out to Google Docs: ${htmlTitle?xml}</title>
<link rel="alternate" type="text/html" href="" />
<id>${id}</id>
<updated>${xmldate(date)}</updated>
<summary type="html">
<![CDATA[&quot;${htmlTitle}&quot; document checked out to Google Docs by ${userName?html}.]]>
</summary>
<author>
<name>${userName?xml}</name>
<uri>${userId?xml}</uri>
</author>
</entry>

View File

@@ -0,0 +1,14 @@
<#include "../slingshot-common.lib.ftl">
<entry xmlns='http://www.w3.org/2005/Atom'>
<title>Inline Edit on File: ${htmlTitle?xml}</title>
<link rel="alternate" type="text/html" href="" />
<id>${id}</id>
<updated>${xmldate(date)}</updated>
<summary type="html">
<![CDATA[&quot;${htmlTitle}&quot; document edited by ${userName?html}.]]>
</summary>
<author>
<name>${userName?xml}</name>
<uri>${userId?xml}</uri>
</author>
</entry>

View File

@@ -40,6 +40,9 @@ function postActivity()
{
case "file-added":
case "file-updated":
case "google-docs-checkout":
case "google-docs-checkin":
case "inline-edit":
data.title = json.get("fileName");
strParams = "?nodeRef=" + json.get("nodeRef");
break;