fix status output for reviews, fix link to approval files

This commit is contained in:
Uwe Steinmann 2015-06-12 11:15:03 +02:00
parent 5df9b44d97
commit a4f006971a

View File

@ -667,7 +667,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
}
echo "</td>";
echo "<td>";
echo getApprovalStatusText($rec["status"]);
echo getReviewStatusText($rec["status"]);
echo "</td>";
echo "</tr>";
}
@ -720,7 +720,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
echo "<br />".htmlspecialchars($rec['comment']);
if($rec['file']) {
echo "<br />";
echo "<a href=\"../op/op.Download.php?documentid=".$documentid."&approvelogid=".$rec['approveLogID']."\" class=\"btn btn-mini\"><i class=\"icon-download\"></i> ".getMLText('download')."</a>";
echo "<a href=\"../op/op.Download.php?documentid=".$documentid."&approvelogid=".$rec['approveLogId']."\" class=\"btn btn-mini\"><i class=\"icon-download\"></i> ".getMLText('download')."</a>";
}
echo "</td>";
echo "<td>";