* Finish task #46544.

This commit is contained in:
liyuchun
2021-12-30 14:19:28 +08:00
parent 1f4ee55810
commit adac3aefdf
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1066,7 +1066,7 @@ class gitlab extends control
$gitlabTags = $this->gitlab->apiGetTags($gitlabID, $projectID);
$protectTags = $this->gitlab->apiGetBranchPrivs($gitlabID, $projectID, '', 'name_asc');
$protectNames = array_keys($protectBranches);
$protectNames = array_keys($protectTags);
$tags = array();
foreach($gitlabTags as $tag)
+1 -1
View File
@@ -20,7 +20,7 @@
<form id='branchForm' method='post' class='form-ajax' enctype="multipart/form-data">
<table class='table table-form'>
<tr>
<th><?php echo $lang->gitlab->tag->name;?></th>
<th class='w-110px'><?php echo $lang->gitlab->tag->name;?></th>
<td><?php echo html::select('name', $tags, '', "class='form-control chosen'");?></td>
<td></td>
</tr>
+1 -1
View File
@@ -20,7 +20,7 @@
<form id='branchForm' method='post' class='form-ajax' enctype="multipart/form-data">
<table class='table table-form'>
<tr>
<th><?php echo $lang->gitlab->tag->name;?></th>
<th class='w-110px'><?php echo $lang->gitlab->tag->name;?></th>
<td><?php echo html::input('tagName', $tag, "class='form-control' disabled");?></td>
<td></td>
<?php echo html::hidden('name', $tag);?>