* Finish task #46544.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);?>
|
||||
|
||||
@@ -1341,6 +1341,8 @@ $lang->resource->gitlab->browseTag = 'browseTag';
|
||||
$lang->resource->gitlab->createTag = 'createTag';
|
||||
$lang->resource->gitlab->deleteTag = 'deleteTag';
|
||||
$lang->resource->gitlab->browseTagPriv = 'browseTagPriv';
|
||||
$lang->resource->gitlab->createTagPriv = 'createTagPriv';
|
||||
$lang->resource->gitlab->editTagPriv = 'editTagPriv';
|
||||
$lang->resource->gitlab->deleteTagPriv = 'deleteTagPriv';
|
||||
|
||||
$lang->gitlab->methodOrder[5] = 'browse';
|
||||
|
||||
Reference in New Issue
Block a user