* Add tips for create a build with the same name as a release.

This commit is contained in:
liugang
2022-09-22 17:16:36 +08:00
parent e67c6bff76
commit bf925a4f73
6 changed files with 13 additions and 1 deletions
+2
View File
@@ -10,3 +10,5 @@ $('#submit').click(function()
$('#sync').val(result);
}
});
$('[data-toggle="popover"]').popover();
+4 -1
View File
@@ -35,7 +35,10 @@
</tr>
<tr>
<th><?php echo $lang->release->build;?></th>
<td><?php echo html::select('build', $builds, '', "onchange='showProducts(this.value)' class='form-control chosen'");?></td><td></td>
<td><?php echo html::select('build', $builds, '', "onchange='showProducts(this.value)' class='form-control chosen'");?></td>
<td>
<icon class='icon icon-help' data-toggle='popover' data-trigger='focus hover' data-placement='right' data-tip-class='text-muted popover-sm' data-content="<?php echo $lang->release->tips;?>"></icon>
</td>
</tr>
<tr id='productBox' <?php if(!$project->hasProduct) echo "class='hide'";?> >
<th><?php echo $lang->release->product;?></th>
+2
View File
@@ -10,3 +10,5 @@ $('#submit').click(function()
$('#sync').val(result);
}
});
$('[data-toggle="popover"]').popover();
+1
View File
@@ -30,6 +30,7 @@ $lang->release->confirmUnlinkBug = "Do you want to remove this bug?";
$lang->release->existBuild = '『Build』『%s』existed. You could change『name』or choose a『build』.';
$lang->release->noRelease = 'No releases yet.';
$lang->release->errorDate = 'The release date should not be greater than today.';
$lang->release->tips = 'If no build is selected for a release, a build with the same name as the release is created by default.';
$lang->release->basicInfo = 'Basic Info';
+1
View File
@@ -30,6 +30,7 @@ $lang->release->confirmUnlinkBug = "您确认移除该Bug吗?";
$lang->release->existBuild = '『版本』已经有『%s』这条记录了。您可以更改『发布名称』或者选择一个『版本』。';
$lang->release->noRelease = '暂时没有发布。';
$lang->release->errorDate = '发布日期不能大于今天。';
$lang->release->tips = '如果发布未选择任何版本,系统会默认创建一个和该发布同名的版本。';
$lang->release->basicInfo = '基本信息';
+3
View File
@@ -36,6 +36,9 @@
<tr>
<th><?php echo $lang->release->build;?></th>
<td><?php echo html::select('build', $builds, '', "class='form-control chosen'");?></td>
<td>
<icon class='icon icon-help' data-toggle='popover' data-trigger='focus hover' data-placement='right' data-tip-class='text-muted popover-sm' data-content="<?php echo $lang->release->tips;?>"></icon>
</td>
</tr>
<tr>
<th><?php echo $lang->release->date;?></th>