documentlist.php 846 B

1234567891011121314151617181920212223242526
  1. <table id="document-list" class="table table-striped">
  2. <thead>
  3. <tr>
  4. <!--<th>Typ</th>-->
  5. <th>Name</th>
  6. <th>Vorlage</th>
  7. <th>Erstellt am</th>
  8. <th>Letzte Änderung</th>
  9. <th><a id="refresh-documents" href="#"><i class="fa fa-refresh"></i></a></th>
  10. </tr>
  11. </thead>
  12. <?php
  13. if($this->_['documents']) {
  14. foreach($this->_['documents'] as $document) {
  15. echo '<tr>';
  16. //echo '<td>' . $document->getType() . '</td>'; // type icon based on extension
  17. echo '<td>' . $document->getFileName() . '</td>';
  18. echo '<td>' . $document->getDraft() . '</td>';
  19. echo '<td>' . $document->getCreated() . '</td>';
  20. echo '<td>' . $document->getLastChange() . '</td>';
  21. echo '<td></td>';
  22. echo '</tr>';
  23. }
  24. }
  25. ?>
  26. </table>