* Finish task #71645.

This commit is contained in:
wangyuting2
2022-10-10 02:05:06 +00:00
parent 059cf9a8af
commit 79aca158d8
2 changed files with 13 additions and 0 deletions
+8
View File
@@ -1560,6 +1560,14 @@ class project extends control
}
if($project->model == 'scrum') unset($this->lang->resource->projectstory->track);
if(!$project->multiple)
{
unset($this->lang->resource->execution->create);
unset($this->lang->resource->execution->start);
unset($this->lang->resource->execution->delete);
}
$this->view->project = $project;
$this->lang->resource = $this->project->processProjectPrivs($project->model);
}
+5
View File
@@ -146,6 +146,11 @@ $(document).ready(function()
$parent.find('input[value=browse]').prop('checked', $parent.find('input[name^=actions]:not(input[value=browse]):checked').length > 0);
})
<?php if(!$project->multiple):?>
$('#project').append($('#execution').html());
$('#execution').parent().remove();
<?php endif;?>
});
</script>
<?php include '../../common/view/footer.html.php'; ?>