* Finish task #54991.

This commit is contained in:
zhouxudong
2022-05-26 09:19:50 +00:00
parent e70628fef0
commit 715527fd59
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
[lang^='en'] #tipsModalNew {margin-top: 10%; max-width: 620px;}
[lang^='zh-cn'] #tipsModalNew {margin-top: 10%; max-width: 530px;}
[lang^='zh-cn'] #tipsModalClassic {margin-top: 10%; max-width: 420px;}
[lang^='en'] #tipsModalClassic {margin-top: 10%; max-width: 450px;}
[lang^='en'] #newTipsModal {margin-top: 10%; max-width: 620px;}
[lang^='zh-cn'] #newTipsModal {margin-top: 10%; max-width: 530px;}
[lang^='zh-cn'] #classicTipsModal {margin-top: 10%; max-width: 420px;}
[lang^='en'] #classicTipsModal {margin-top: 10%; max-width: 450px;}
.chosen-container-single .chosen-single > span {max-width: 100%;}
#copyProjectModal {padding: 0;}
+2 -2
View File
@@ -15,8 +15,8 @@
<?php $defaultURL = $this->createLink('execution', 'task', "execution=$executionID");?>
<?php include '../../common/view/header.html.php';?>
<body>
<?php $tipsModal = $this->config->systemMode == 'new' ? 'tipsModalNew' : 'tipsModalClassic';?>
<div class='modal-dialog' id=<?php echo $tipsModal;?>>
<?php $tipsModal = $this->config->systemMode == 'new' ? 'newTipsModal' : 'classicTipsModal';?>
<div class='modal-dialog' id='<?php echo $tipsModal;?>'>
<div class='modal-header'>
<a href='<?php echo $defaultURL;?>' class='close'><i class="icon icon-close"></i></a>
<h4 class='modal-title' id='myModalLabel'><?php echo $lang->execution->tips;?></h4>
+2 -2
View File
@@ -5,7 +5,7 @@
<?php if($execution->lifetime != 'ops') echo html::a($this->createLink('execution', 'linkstory', "executionID=$executionID"), $lang->execution->linkStory, '', "class='btn' data-app='execution'");?>
<?php echo html::a($this->createLink('task', 'create', "execution=$executionID"), $lang->execution->createTask, '', "class='btn' data-app='execution'");?>
<?php echo html::a($this->createLink('execution', 'task', "executionID=$executionID"), $lang->execution->goback, '', "class='btn' data-app='execution'");?>
<?php if($this->config->systemMode == 'new') echo html::a('javascript:void(0)', $lang->execution->gobackExecution, '', "class='btn' onclick='closeTipModal($projectID)' data-app='project'");?>
<?php if($this->config->systemMode == 'new') echo html::a('javascript:void(0)', $lang->execution->gobackExecution, '', "class='btn' onclick='closeTipsModal($projectID)' data-app='project'");?>
</div>
</div>
<script>
@@ -16,7 +16,7 @@
* @access public
* @return void
*/
function closeTipModal(projectID)
function closeTipsModal(projectID)
{
$.apps.close('execution');
var link = createLink('project', 'execution', 'status=all&projectID=' + projectID);