Newer
Older
DocumentLibrary / src / DocumentLibrary / instance / methods / document_submit_message
<dtml-comment>

document_submit_message method

    Message for users submitting new documents

    Author: Casey Duncan (casey_duncan@yahoo.com)

</dtml-comment>

<dtml-with expr="Documents[REQUEST.id]">
   <p>Your document <dtml-var name="filename" fmt="&quot;%s&quot;" missing>
   was submitted sucessfully.
   <dtml-unless expr="AUTHENTICATED_USER.has_permission('Add Document Library Files Without Review', Documents)">
      Your document will be reviewed and will become available in the library
      when it is approved.
   </dtml-unless>
<dtml-comment>
   This is commented out until I can track down a somewhat silly
   security issue. Uncomment it to see what I mean...
   <dtml-if expr="AUTHENTICATED_USER.has_permission('Manage properties', this())">
      <a href="&dtml-absolute_url;/document_edit">Edit the document data</a>.
   </dtml-if>
</dtml-comment>
   </p>
</dtml-with>