Commit 8f9721098ec2d11241545500708e19f5e3d1d9bf
1 parent
d30cd62e
Added action link for creation of dependant doc
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2112 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
| @@ -214,6 +214,8 @@ function displayActionButtons($oDocument, $bEdit) { | @@ -214,6 +214,8 @@ function displayActionButtons($oDocument, $bEdit) { | ||
| 214 | if (!$oDocument->getIsCheckedOut() || !$oDocument->hasCollaboration() || (!DocumentCollaboration::documentCollaborationStarted($oDocument->getID()))) { | 214 | if (!$oDocument->getIsCheckedOut() || !$oDocument->hasCollaboration() || (!DocumentCollaboration::documentCollaborationStarted($oDocument->getID()))) { |
| 215 | $sToRender .= "<td><a href=\"" . generateControllerLink("archiveDocument", "fDocumentID=" . $oDocument->getID()) . "\"><img src=\"$default->graphicsUrl/widgets/archive.gif\" border=\"0\" /></a></td>\n"; | 215 | $sToRender .= "<td><a href=\"" . generateControllerLink("archiveDocument", "fDocumentID=" . $oDocument->getID()) . "\"><img src=\"$default->graphicsUrl/widgets/archive.gif\" border=\"0\" /></a></td>\n"; |
| 216 | } | 216 | } |
| 217 | + | ||
| 218 | + $sToRender .= "<td><a href=\"" . generateControllerLink("createDependantDocument", "fDocumentID=" . $oDocument->getID()) . "\"><img src=\"$default->graphicsUrl/widgets/archive.gif\" border=\"0\" /></a></td>\n"; | ||
| 217 | 219 | ||
| 218 | return $sToRender; | 220 | return $sToRender; |
| 219 | } | 221 | } |