diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/docActions.get.js b/config/alfresco/templates/webscripts/org/alfresco/office/docActions.get.js index 9cd350e70d..f1637f45c4 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/docActions.get.js +++ b/config/alfresco/templates/webscripts/org/alfresco/office/docActions.get.js @@ -152,7 +152,6 @@ else // Non document-based actions catch(e) { resultString = "Action failed due to exception"; - resultString = e.toString(); } } model.resultString = resultString; diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl index 37fb61a5c0..48e84d22e6 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl @@ -17,6 +17,9 @@ Document Details + @@ -142,10 +145,10 @@
-<#if d.isDocument> - <#else> - No actions available. +
  • + + Save to Alfresco + Save to Alfresco + +
    Allows you to place the current document under Alfresco management. +
  • +
    diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl index 3200e211f8..57b931325c 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl @@ -18,6 +18,9 @@ My Alfresco + @@ -59,7 +62,10 @@ Modified: ${child.properties.modified?datetime} (${(child.size / 1024)?int}Kb)
    Check In + Create Workflow... + <#if !child.name?ends_with(".pdf")> Make PDF... + diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/myTasks.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/myTasks.get.html.ftl index 949aff325e..413c3f0eef 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/myTasks.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/myTasks.get.html.ftl @@ -1,23 +1,29 @@ <#assign doc_actions="${url.serviceContext}/office/docActions"> <#if args.p?exists><#assign path=args.p><#else><#assign path=""> -<#if args.n?exists><#assign node=args.n><#else><#assign node=companyhome> -<#-- resolve the path (from Company Home) into a node --> -<#if path?starts_with("/Company Home")> - <#if path?length=13> - <#assign d=companyhome> - <#elseif companyhome.childByNamePath[args.p[14..]]?exists> - <#assign d=companyhome.childByNamePath[args.p[14..]]> +<#if docWorkflow?exists> + <#assign d=docWorkflow> +<#else> + <#-- resolve the path (from Company Home) into a node --> + <#if path?starts_with("/Company Home")> + <#if path?length=13> + <#assign d=companyhome> + <#elseif companyhome.childByNamePath[args.p[14..]]?exists> + <#assign d=companyhome.childByNamePath[args.p[14..]]> + <#else> + <#assign d=companyhome> + <#else> <#assign d=companyhome> -<#else> - <#assign d=companyhome> My Tasks + @@ -29,7 +35,7 @@