Merge branch '15.0.beta3' of https://gitlab.zcorp.cc/easycorp/zentaopms into 15.0.beta3
This commit is contained in:
@@ -82,9 +82,9 @@ function addNewProduct(obj)
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function setAclList(projectID)
|
||||
function setAclList(programID)
|
||||
{
|
||||
if(projectID != 0)
|
||||
if(programID != 0)
|
||||
{
|
||||
$('.aclBox').html($('#programAcl').html());
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ $(function()
|
||||
$('#parent').change(function()
|
||||
{
|
||||
var programID = $(this).val();
|
||||
setAclList(programID);
|
||||
|
||||
/* Determine whether the project can change the project set. */
|
||||
link = createLink('project', 'ajaxCheckProduct', 'programID=' + programID + '&projectID=' + projectID);
|
||||
|
||||
@@ -200,6 +200,6 @@
|
||||
<?php echo nl2br(html::radio('acl', $lang->project->aclList, $acl, "onclick='setWhite(this.value);'", 'block'));?>
|
||||
</div>
|
||||
<div id='programAcl' class='hidden'>
|
||||
<?php echo nl2br(html::radio('acl', $lang->program->aclList, $acl, "onclick='setWhite(this.value);'", 'block'));?>
|
||||
<?php echo nl2br(html::radio('acl', $lang->program->subAclList, $acl, "onclick='setWhite(this.value);'", 'block'));?>
|
||||
</div>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
<?php echo nl2br(html::radio('acl', $lang->project->aclList, $project->acl == 'project' ? 'private' : 'open', "onclick='setWhite(this.value);'", 'block'));?>
|
||||
</div>
|
||||
<div id='programAcl' class='hidden'>
|
||||
<?php echo nl2br(html::radio('acl', $lang->project->aclList, $project->acl, "onclick='setWhite(this.value);'", 'block'));?>
|
||||
<?php echo nl2br(html::radio('acl', $lang->program->subAclList, $project->acl, "onclick='setWhite(this.value);'", 'block'));?>
|
||||
</div>
|
||||
<div class="modal fade" id="promptBox">
|
||||
<div class="modal-dialog mw-600px">
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<tbody>
|
||||
<?php foreach($noMergedSprints as $sprintID => $sprint):?>
|
||||
<tr>
|
||||
<td><?php echo "{$lang->upgrade->project} #{$sprint->id} {$sprint->name}" . html::hidden("sprints[]", $sprint->id);?></td>
|
||||
<td><?php echo "{$sprint->name}" . html::hidden("sprints[]", $sprint->id);?></td>
|
||||
<td class='divider'><i class='icon icon-angle-double-right'></i></td>
|
||||
<td><?php echo html::select("projects[]", $sprint->projects, '', "class='form-control chosen'");?></td>
|
||||
</tr>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
$label = "<span class='text'>{$lang->user->schedule}</span>";
|
||||
$active = $methodName == 'todo' ? ' btn-active-text' : '';
|
||||
common::printLink('user', 'todo', "userID={$user->id}", $label, '', "class='btn btn-link $active'");
|
||||
common::printLink('user', 'todo', "userID={$user->id}&type=all", $label, '', "class='btn btn-link $active'");
|
||||
|
||||
$label = "<span class='text'>{$lang->user->task}</span>";
|
||||
$active = $methodName == 'task' ? ' btn-active-text' : '';
|
||||
|
||||
Reference in New Issue
Block a user