* Fix bug #17841,17830.

This commit is contained in:
liyuchun
2021-12-23 09:20:40 +08:00
parent 66bf2a0f80
commit 51d75e0802
5 changed files with 6 additions and 2 deletions
+1
View File
@@ -957,6 +957,7 @@ class gitlab extends control
$tag->name = $gitlabTag->name;
$tag->lastCommitter = $gitlabTag->commit->committer_name;
$tag->updated = date('Y-m-d H:i:s', strtotime($gitlabTag->commit->committed_date));
$tag->protected = $gitlabTag->protected;
$tagList[] = $tag;
}
+2 -1
View File
@@ -62,7 +62,8 @@
<td class='text'><?php echo $gitlabTag->updated?></td>
<td class='c-actions text-left'>
<?php
common::printLink('gitlab', 'deleteTag', "gitlabID=$gitlabID&projectID={$projectID}&tag_name={$gitlabTag->name}", "<i class='icon icon-trash'></i> ", '', "title='{$lang->gitlab->deleteTag}' class='btn btn-primary' target='hiddenwin'");
$isDisabled = $gitlabTag->protected ? 'disabled' : '';
common::printLink('gitlab', 'deleteTag', "gitlabID=$gitlabID&projectID={$projectID}&tag_name={$gitlabTag->name}", "<i class='icon icon-trash'></i> ", '', "title='{$lang->gitlab->deleteTag}' class='btn btn-primary' target='hiddenwin' $isDisabled");
?>
</td>
</tr>
+1
View File
@@ -0,0 +1 @@
#mrForm table tbody th {width: 145px;}
+1
View File
@@ -0,0 +1 @@
#mrForm table tbody th {width: 185px;}
+1 -1
View File
@@ -57,7 +57,7 @@ $lang->mr->approvalResultList['approve'] = 'Approve';
$lang->mr->approvalResultList['reject'] = 'Reject';
$lang->mr->needApproved = 'This MR should be approved before merge';
$lang->mr->needCI = 'This MR should be passed CI before merge';
$lang->mr->needCI = 'Merge only after passing CI';
$lang->mr->removeSourceBranch = 'Delete source branch after merge';
$lang->mr->repeatedOperation = 'Do not repeat operations';