mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-07 02:20:59 +00:00
output some more data (orig filename, document id, document name)
This commit is contained in:
parent
4bba138184
commit
181dd2c3ff
|
@ -199,6 +199,18 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
|||
// $this->contentContainerStart();
|
||||
?>
|
||||
<table class="table table-condensed table-sm">
|
||||
<?php
|
||||
if($user->isAdmin()) {
|
||||
echo "<tr>";
|
||||
echo "<td>".getMLText("id").":</td>\n";
|
||||
echo "<td>".htmlspecialchars($document->getID())."</td>\n";
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td><?php printMLText("name");?>:</td>
|
||||
<td><?php $this->printInlineEditDocumentName(htmlspecialchars($document->getName()), $document);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("owner");?>:</td>
|
||||
<td>
|
||||
|
@ -325,6 +337,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
|||
$this->columnEnd();
|
||||
$this->columnStart(5);
|
||||
print "<ul class=\"unstyled\">\n";
|
||||
print "<li>".htmlspecialchars($version->getOriginalFileName())."</li>";
|
||||
print "<li>".getMLText('version').": ".$version->getVersion()."</li>\n";
|
||||
|
||||
if ($file_exists)
|
||||
|
@ -599,7 +612,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
|||
$this->contentHeading(getMLText("status"));
|
||||
$this->contentContainerStart();
|
||||
$statuslog = $version->getStatusLog();
|
||||
echo "<table class=\"table table-condensed\"><thead>";
|
||||
echo "<table class=\"table table-condensed table-sm\"><thead>";
|
||||
echo "<th>".getMLText('date')."</th><th>".getMLText('status')."</th><th>".getMLText('user')."</th><th>".getMLText('comment')."</th></tr>\n";
|
||||
echo "</thead><tbody>";
|
||||
foreach($statuslog as $entry) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user