* Add code to stroy view for workflow.
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->comment;?></th>
|
||||
<td colspan='2'><?php echo html::textarea('comment', '', 'rows=5 class="area-1"');?></td>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
<th class='w-80px'><?php echo $lang->story->assign;?></th>
|
||||
<td class='w-p25-f'><?php echo html::select('assignedTo', $users, $story->assignedTo, "class='form-control chosen'");?></td><td></td>
|
||||
</tr>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
|
||||
<tr>
|
||||
<th><?php echo $lang->comment;?></th>
|
||||
<td colspan='2'><?php echo html::textarea('comment', '', "rows='6' class='form-control w-p98'");?></td>
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
<th><?php echo $lang->story->comment;?></th>
|
||||
<td><?php echo html::textarea('comment', '', 'rows=5 class="form-control"');?></td>
|
||||
</tr>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?>
|
||||
<tr>
|
||||
<th><?php echo $lang->attatch;?></th>
|
||||
<td><?php echo $this->fetch('file', 'buildform');?></td>
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
<th><?php echo $lang->story->childStories;?></th>
|
||||
<td><?php echo html::input('childStories', '', "class='form-control'");?></td><td></td>
|
||||
</tr>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->comment;?></th>
|
||||
<td colspan='2'><?php echo html::textarea('comment', '', "rows='8' class='form-control'");?></td>
|
||||
|
||||
@@ -173,6 +173,7 @@
|
||||
<td colspan="4"><?php echo html::textarea('verify', $verify, "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=4');?>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->legendAttatch;?></th>
|
||||
<td colspan='4'><?php echo $this->fetch('file', 'buildform');?></td>
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
<div class='detail-title'><?php echo $lang->story->verify;?></div>
|
||||
<div class='detail-content article-content'><?php echo $story->verify;?></div>
|
||||
</div>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'div', 'position=left&divCell=false');?>
|
||||
<div class='detail'>
|
||||
<div class='detail-title'><?php echo $lang->story->comment;?></div>
|
||||
<div class='form-group'>
|
||||
@@ -197,6 +198,8 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'div', 'position=right&divCell=false');?>
|
||||
|
||||
<div class='detail'>
|
||||
<div class='detail-title'><?php echo $lang->story->legendMisc;?></div>
|
||||
<table class='table table-form'>
|
||||
|
||||
@@ -69,6 +69,7 @@ var assignedTo = '<?php $story->lastEditedBy ? print($story->lastEditedBy) : pri
|
||||
<th><?php echo $lang->story->reviewedBy;?></th>
|
||||
<td colspan='2'><?php echo html::select('reviewedBy[]', $users, $app->user->account, "class='form-control' multiple data-placeholder='{$lang->story->chosen->reviewedBy}'");?></td>
|
||||
</tr>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->comment;?></th>
|
||||
<td colspan='2'><?php echo html::textarea('comment', '', "rows='8' class='form-control'");?></td>
|
||||
|
||||
Reference in New Issue
Block a user