Blame Identity/Webenv/App/Trac/templates/attachment.cs

f2e824
f2e824
f2e824
f2e824
f2e824
f2e824
f2e824
f2e824
f2e824
 

Add Attachment to

f2e824
   var:attachment.parent.name ?>
f2e824
 <form id="attachment" method="post" enctype="multipart/form-data" action="">
f2e824
  
f2e824
   <label>File:
<input type="file" name="attachment" /></label>
f2e824
  
f2e824
  <fieldset>
f2e824
   <legend>Attachment Info</legend>
f2e824
   
f2e824
    
f2e824
     <label>Your email or username:
f2e824
     
f2e824
       var:attachment.author?>" /></label>
f2e824
    
f2e824
   
f2e824
   
f2e824
    <label>Description of the file (optional):
f2e824
    <input type="text" name="description" size="60" /></label>
f2e824
   
f2e824
   
f2e824
   
f2e824
    <label><input type="checkbox" name="replace" />
f2e824
    Replace existing attachment of the same name</label>
f2e824
   
f2e824
   
f2e824
  </fieldset>
f2e824
  
f2e824
   <input type="hidden" name="action" value="new" />
f2e824
   <input type="hidden" name="type" value="<?cs var:attachment.parent.type ?>" />
f2e824
   <input type="hidden" name="id" value="<?cs var:attachment.parent.id ?>" />
f2e824
   <input type="submit" value="Add attachment" />
f2e824
   <input type="submit" name="cancel" value="Cancel" />
f2e824
  
f2e824
 </form>
f2e824
f2e824
 

f2e824
   var:attachment.parent.name ?>: 
f2e824
 

Are you sure you want to delete this attachment?

f2e824
 This is an irreversible operation.

f2e824
 
f2e824
  <form method="post" action="">
f2e824
   <input type="hidden" name="action" value="delete" />
f2e824
   <input type="submit" name="cancel" value="Cancel" />
f2e824
   <input type="submit" value="Delete attachment" />
f2e824
  </form>
f2e824
 
f2e824
f2e824
 

f2e824
   var:attachment.parent.name ?>
f2e824
  call:list_of_attachments(attachment.list, attachment.attach_href) ?>
f2e824
f2e824
 

f2e824
   var:attachment.parent.name ?>: 
f2e824
 
f2e824
   
f2e824
    File ,  
f2e824
    (added by ,   ago)
f2e824
   
f2e824
   
f2e824
  
f2e824
 
f2e824
 
f2e824
  if:attachment.preview ?>
f2e824
   
f2e824
  elif:attachment.max_file_size_reached ?>
f2e824
   HTML preview not available, since the file size exceeds
f2e824
    bytes. You may 
f2e824
     var:attachment.raw_href ?>">download the file instead.
f2e824
  else ?>
f2e824
   HTML preview not available. To view the file,
f2e824
   download the file.
f2e824
  /if ?>
f2e824
 
f2e824
 
f2e824
  <form method="get" action="">
f2e824
   <input type="hidden" name="action" value="delete" />
f2e824
   <input type="submit" value="Delete attachment" />
f2e824
  </form>
f2e824
 
f2e824
f2e824
f2e824
f2e824