mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
show translated action name in workflow log
This commit is contained in:
parent
588369b64d
commit
ffc2565933
|
@ -940,7 +940,7 @@ $(document).ready( function() {
|
|||
|
||||
$wkflogs = $latestContent->getWorkflowLog();
|
||||
if($wkflogs) {
|
||||
$this->contentHeading(getMLText("workflow_summary"));
|
||||
$this->contentHeading(getMLText("workflow_log"));
|
||||
$this->contentContainerStart();
|
||||
echo "<table class=\"table table-condensed table-sm\"><thead>";
|
||||
echo "<th>".getMLText('date')."</th><th>".getMLText('action')."</th><th>".getMLText('user')."</th><th>".getMLText('comment')."</th></tr>\n";
|
||||
|
@ -948,7 +948,7 @@ $(document).ready( function() {
|
|||
foreach($wkflogs as $wkflog) {
|
||||
echo "<tr>";
|
||||
echo "<td>".$wkflog->getDate()."</td>";
|
||||
echo "<td>".htmlspecialchars($wkflog->getTransition()->getAction()->getName())."</td>";
|
||||
echo "<td>".htmlspecialchars(getMLText('action_'.strtolower($wkflog->getTransition()->getAction()->getName()), array(), $wkflog->getTransition()->getAction()->getName()))."</td>";
|
||||
$loguser = $wkflog->getUser();
|
||||
echo "<td>".htmlspecialchars($loguser->getFullName())."</td>";
|
||||
echo "<td>".htmlspecialchars($wkflog->getComment())."</td>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user