Finish task #45106.
This commit is contained in:
@@ -812,7 +812,7 @@ class actionModel extends model
|
||||
if(!$actions) return array();
|
||||
|
||||
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'action');
|
||||
return $this->transformActions($actions);;
|
||||
return $this->transformActions($actions);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1215,6 +1215,11 @@ class actionModel extends model
|
||||
|
||||
if($action->objectType == 'stakeholder' and $action->project == 0) $action->objectLink = '';
|
||||
|
||||
if($action->objectType == 'story' and $action->action == 'import2storylib')
|
||||
{
|
||||
$action->objectLink = helper::createLink('assetlib', 'storyView', "storyID=$action->objectID");
|
||||
}
|
||||
|
||||
return $action;
|
||||
}
|
||||
|
||||
|
||||
@@ -70,14 +70,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if($action->objectType == 'story' and $action->action == 'import2storylib')
|
||||
{
|
||||
echo html::a(helper::createLink('assetlib', 'storyView', "storyID=$action->objectID"), $action->objectName, '', $tab);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo html::a($action->objectLink, $action->objectName, '', $tab);
|
||||
}
|
||||
echo html::a($action->objectLink, $action->objectName, '', $tab);
|
||||
}
|
||||
?>
|
||||
<span class="label label-id"><?php echo $action->objectID;?></span>
|
||||
|
||||
Reference in New Issue
Block a user