% my $api = gitprep_api; my $logined = $api->logined; my $session_user_row_id = session('user_row_id'); my $session_user = app->dbi->model('user')->select(where => {row_id => $session_user_row_id})->one; my $user_id = $self->param('user'); my $project_id = param('project'); my $original_project; my $is_private_project; my $no_project_header = stash('no_project_header'); if (!$no_project_header && defined $project_id) { $original_project = app->manager->original_project($user_id, $project_id); $is_private_project = app->manager->is_private_project($user_id, $project_id); } %>