diff --git a/resources/views/projects/edit.blade.php b/resources/views/projects/edit.blade.php index 0e369713a4..949ad91e0b 100644 --- a/resources/views/projects/edit.blade.php +++ b/resources/views/projects/edit.blade.php @@ -61,34 +61,10 @@ - @if(Auth::user()->canCreateOrEdit(ENTITY_PROJECT))) + @if(Auth::user()->canCreateOrEdit(ENTITY_PROJECT))
{!! Button::normal(trans('texts.cancel'))->large()->asLinkTo(HTMLUtils::previousUrl('/projects'))->appendIcon(Icon::create('remove-circle')) !!} {!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!} - - @if (false && $project && Auth::user()->can('create', ENTITY_TASK)) - {!! DropdownButton::normal(trans('texts.more_actions')) - ->withContents([ - [ - 'url' => url('/tasks/create/' . ($project->client ? $project->client->public_id : '0'). '/' . $project->public_id), - 'label' => trans('texts.new_task'), - ], - [ - 'url' => 'javascript:submitAction("invoice")', - 'label' => trans('texts.invoice_project'), - ], - \DropdownButton::DIVIDER, - [ - 'url' => 'javascript:submitAction("archive")', - 'label' => trans('texts.archive_project') - ], - [ - 'url' => 'javascript:onDeleteClick()', - 'label' => trans('texts.delete_project') - ], - ]) - ->large() !!} - @endif
@endif