mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-08 10:59:03 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
aa509919f0
|
@ -200,6 +200,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>
|
||||
|
@ -326,6 +338,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)
|
||||
|
@ -600,7 +613,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