* Adjust the code.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<div class="main-header">
|
||||
<h2><?php echo $lang->gitlab->importIssue;?></h2>
|
||||
</div>
|
||||
<?php if($importable): ?>
|
||||
<?php if($importable):?>
|
||||
<form method='post' class='load-indicator main-form form-ajax' enctype='multipart/form-data'>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-borderless">
|
||||
@@ -30,29 +30,29 @@
|
||||
<tbody>
|
||||
<?php foreach($gitlabIssues as $issue):?>
|
||||
<tr>
|
||||
<td><?php echo "<a href='{$issue->web_url}' target='_blank'>$issue->title</a>"; ?></td>
|
||||
<td><?php echo "<a href='{$issue->web_url}' target='_blank'>$issue->title</a>";?></td>
|
||||
<td><?php echo html::select("objectTypeList[{$issue->iid}]", $objectTypes, '', "class='form-control select chosen'" );?></td>
|
||||
<td><?php echo html::select("productList[{$issue->iid}]", $products, '', "class='form-control select chosen'" );?></td>
|
||||
<td><?php echo html::select("executionList[{$issue->iid}]", '', '', "class='form-control select chosen'" );?></td>
|
||||
<input type='hidden' name='gitlabID' value='<?php echo $gitlabID;?>' />
|
||||
<input type='hidden' name='gitlabProjectID' value='<?php echo $gitlabProjectID;?>' />
|
||||
<input type='hidden' name='gitlabProjectID' value='<?php echo $gitlabProjectID;?>'/>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach;?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td class='text-center form-actions' colspan='2'>
|
||||
<?php echo html::submitButton($lang->save);?>
|
||||
<?php if(!isonlybody()) echo html::a($this->createLink('repo', 'maintain', ""), $lang->goback, '', 'class="btn btn-wide"'); ?>
|
||||
<?php if(!isonlybody()) echo html::a($this->createLink('repo', 'maintain', ""), $lang->goback, '', 'class="btn btn-wide"');?>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
<?php else:?>
|
||||
<?php echo $lang->gitlab->noImportableIssues; ?>
|
||||
<?php endif; ?>
|
||||
</form>
|
||||
<?php else:?>
|
||||
<?php echo $lang->gitlab->noImportableIssues;?>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user