* Finish task#43848,43850,add gitlab project namespace

This commit is contained in:
zenggang
2021-11-10 09:31:47 +00:00
parent 51960d25b4
commit 763a7e0175
8 changed files with 452 additions and 35 deletions
+10 -1
View File
@@ -26,7 +26,16 @@
</tr>
<tr>
<th><?php echo $lang->gitlab->project->url;?></th>
<td><?php echo html::input('url', $gitlab->url . '/' . $user->username . '/', "class='form-control' disabled");?></td>
<td>
<div class='input-group'>
<?php if(count($namespaces) < 2):?>
<?php echo html::input('url', $gitlab->url . '/' . $user->username . '/', "class='form-control' disabled");?>
<?php else:?>
<span class='input-group-addon'><?php echo $gitlab->url . '/';?></span>
<?php echo html::select('namespace_id', $namespaces, $user->username, "class='form-control'");?>
<?php endif;?>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->gitlab->project->path;?></th>