Commit 4e39cafc8da1408e8acad0a81ee13bf7df8a67ec

Authored by nbm
1 parent bb46635c

Create a proper link to go back to the document post-checkout


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4624 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/action/checkout_final.smarty
@@ -22,10 +22,10 @@ check out will begin to download soon. If it does not automatically @@ -22,10 +22,10 @@ check out will begin to download soon. If it does not automatically
22 start to download, you can use <a href="#link#">this link</a> to start 22 start to download, you can use <a href="#link#">this link</a> to start
23 it yourself.{/i18n}</p> 23 it yourself.{/i18n}</p>
24 24
  25 +{assign var=iDocumentId value=$context->oDocument->getId()}
25 {capture assign=link} 26 {capture assign=link}
26 {"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} 27 {"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}
27 {/capture} 28 {/capture}
28 -{assign var=iDocumentId value=$context->oDocument->getId()}  
29 <p class="descriptiveText">{i18n arg_link=$link}Once the document has 29 <p class="descriptiveText">{i18n arg_link=$link}Once the document has
30 been downloaded, you should <a href="#link#">return to the document 30 been downloaded, you should <a href="#link#">return to the document
31 view</a>.{/i18n}</p> 31 view</a>.{/i18n}</p>