Commit 6e6fdd47cfb32d5d666c3283b0bd4f041bfad075

Authored by Neil Blakey-Milner
1 parent dd53a1d5

Inform the user that the document in question is immutable.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5674 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/kt3/view_document.smarty
... ... @@ -17,7 +17,6 @@ this is incorrect, or you no longer need to make changes to it, please cancel th
17 17 <p>{i18n arg_checkoutuser=$checkout_user}This document is currently checked out by #checkoutuser#, but you
18 18 have sufficient priviledges to cancel their checkout.{/i18n}</p>
19 19 </div>
20   -
21 20 {else}
22 21 <div class="ktInfo">
23 22 <p>{i18n arg_checkoutuser=$checkout_user}This document is currently checked out by #checkoutuser#. You cannot make
... ... @@ -27,6 +26,20 @@ contact your KnowledgeTree Administrator.{/i18n}&lt;/p&gt;
27 26 {/if}
28 27 {/if}
29 28 {/if}
  29 +
  30 +{if ($document->getImmutable() == true)}
  31 +<div class="ktInfo">
  32 +<p>{i18n}This document is immutable. No further content changes can be
  33 +made to this document, and only administrators (in administration mode)
  34 +can make changes to the metadata or can move or delete it.{/i18n}
  35 +{if 1}
  36 + {i18n}If you require assistance from an administrator to perform one of
  37 +these tasks, use the Request Assistance action.{/i18n}
  38 +{/if}
  39 +</p>
  40 +</div>
  41 +{/if}
  42 +
30 43 {foreach item=oFieldset from=$fieldsets}
31 44 {$oFieldset->render($document_data)}
32 45 {/foreach}
... ...