* Finish task #71645.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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'; ?>
|
||||
|
||||
Reference in New Issue
Block a user