From 4e39cafc8da1408e8acad0a81ee13bf7df8a67ec Mon Sep 17 00:00:00 2001 From: nbm Date: Mon, 23 Jan 2006 08:13:49 +0000 Subject: [PATCH] Create a proper link to go back to the document post-checkout --- templates/ktcore/action/checkout_final.smarty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ktcore/action/checkout_final.smarty b/templates/ktcore/action/checkout_final.smarty index 5fccea7..7ea0d9e 100644 --- a/templates/ktcore/action/checkout_final.smarty +++ b/templates/ktcore/action/checkout_final.smarty @@ -22,10 +22,10 @@ check out will begin to download soon. If it does not automatically start to download, you can use this link to start it yourself.{/i18n}

+{assign var=iDocumentId value=$context->oDocument->getId()} {capture assign=link} {"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} {/capture} -{assign var=iDocumentId value=$context->oDocument->getId()}

{i18n arg_link=$link}Once the document has been downloaded, you should return to the document view.{/i18n}

-- libgit2 0.21.4