* Add tips for projects under the server.
This commit is contained in:
@@ -162,6 +162,8 @@ $(function()
|
||||
}
|
||||
$.get(url, function(response)
|
||||
{
|
||||
if(response == "<option value=''></option>" && confirm(mrLang.addForApp) == true) window.open(hosts[hostID].url);
|
||||
|
||||
$('#sourceProject').html('').append(response);
|
||||
if(repo.project)
|
||||
{
|
||||
|
||||
@@ -199,3 +199,4 @@ $lang->mr->unlinkedTasks = 'Task not linked';
|
||||
$lang->mr->confirmUnlinkTask = "Are you sure to remove this task?";
|
||||
$lang->mr->taskSummary = "There are <strong>%s</strong> tasks on this page";
|
||||
$lang->mr->notDelbranch = "The source branch cannot be deleted when it is a protected branch";
|
||||
$lang->mr->addForApp = "There are no projects under this server, do you want to go to add?";
|
||||
|
||||
@@ -199,3 +199,4 @@ $lang->mr->unlinkedTasks = 'Task not linked';
|
||||
$lang->mr->confirmUnlinkTask = "Are you sure to remove this task?";
|
||||
$lang->mr->taskSummary = "There are <strong>%s</strong> tasks on this page";
|
||||
$lang->mr->notDelbranch = "The source branch cannot be deleted when it is a protected branch";
|
||||
$lang->mr->addForApp = "There are no projects under this server, do you want to go to add?";
|
||||
|
||||
@@ -199,3 +199,4 @@ $lang->mr->unlinkedTasks = 'Task not linked';
|
||||
$lang->mr->confirmUnlinkTask = "Are you sure to remove this task?";
|
||||
$lang->mr->taskSummary = "There are <strong>%s</strong> tasks on this page";
|
||||
$lang->mr->notDelbranch = "The source branch cannot be deleted when it is a protected branch";
|
||||
$lang->mr->addForApp = "There are no projects under this server, do you want to go to add?";
|
||||
|
||||
@@ -199,3 +199,4 @@ $lang->mr->unlinkedTasks = 'Task not linked';
|
||||
$lang->mr->confirmUnlinkTask = "Are you sure to remove this task?";
|
||||
$lang->mr->taskSummary = "There are <strong>%s</strong> tasks on this page";
|
||||
$lang->mr->notDelbranch = "The source branch cannot be deleted when it is a protected branch";
|
||||
$lang->mr->addForApp = "There are no projects under this server, do you want to go to add?";
|
||||
|
||||
@@ -199,3 +199,4 @@ $lang->mr->unlinkedTasks = '未关联任务';
|
||||
$lang->mr->confirmUnlinkTask = "您确认移除该任务吗?";
|
||||
$lang->mr->taskSummary = "本页共 <strong>%s</strong> 个任务";
|
||||
$lang->mr->notDelbranch = "源分支为受保护分支时不可删除";
|
||||
$lang->mr->addForApp = "该服务器下没有项目,是否前往添加?";
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<?php js::import($jsRoot . 'misc/base64.js');?>
|
||||
<?php js::set('hosts', $hosts);?>
|
||||
<?php js::set('repo', $repo);?>
|
||||
<?php js::set('mrLang', $lang->mr);?>
|
||||
<?php js::set('branchPrivs', array());?>
|
||||
<div id='mainContent' class='main-row'>
|
||||
<div class='main-col main-content'>
|
||||
|
||||
@@ -9,7 +9,7 @@ table.diff {margin-bottom: 0px;}
|
||||
.diff .line-new, .diff .line-new {background: #CFC;}
|
||||
.diff .line-old, .diff .line-old {background: #FCC;}
|
||||
.diff .line-all, .diff .line-all {background: #FFF;}
|
||||
.diff .w-num {width: 25px; border-right: 1px solid #E4E4E4; color: #999; border-left: 1px solid #E4E4E4; color: #999; font-weight: normal; line-height: 2.5;}
|
||||
.diff .w-num {width: 25px; border-right: 1px solid #E4E4E4; color: #999; border-left: 1px solid #E4E4E4; color: #999; font-weight: normal;}
|
||||
|
||||
.repoCode .diff tr .comment-btn .icon-wrapper {left: -23px;}
|
||||
.repoCode .diff tr.over td.line-all, .repoCode .diff tr.over td.line-all {background: #f8eec7;}
|
||||
|
||||
Reference in New Issue
Block a user