*Adjust GitLab Token validation.

This commit is contained in:
lichengjun
2021-08-24 02:27:40 +00:00
parent e2e6428ef9
commit 0f4735080d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -40,11 +40,11 @@
</thead>
<tbody>
<?php foreach ($gitlabList as $id => $gitlab): ?>
<tr>
<tr class='text-center' title='<?php if(!$gitlab->isAdminToken) echo $lang->gitlab->tokenLimit;?>'>
<td class='text-center'><?php echo $id;?></td>
<td class='text c-name' title='<?php echo $gitlab->name;?>'><?php echo $gitlab->name;?></td>
<td class='text' title='<?php echo $gitlab->url;?>'><?php echo $gitlab->url;?></td>
<td class='c-actions text-left' title='<?php if(!$gitlab->isAdminToken) echo $lang->gitlab->tokenLimit;?>'>
<td class='c-actions text-left'>
<?php
$disabled = !$gitlab->isAdminToken ? 'disabled' : '';
common::printLink('gitlab', 'edit', "gitlabID=$id", "<i class='icon icon-edit'></i> ", '',"title={$lang->gitlab->edit} class='btn btn-primary'");