mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Remove extra parentheses from projects page
This commit is contained in:
parent
12c0fba5aa
commit
66df763747
@ -61,34 +61,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(Auth::user()->canCreateOrEdit(ENTITY_PROJECT)))
|
||||
@if(Auth::user()->canCreateOrEdit(ENTITY_PROJECT))
|
||||
<center class="buttons">
|
||||
{!! 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
|
||||
</center>
|
||||
@endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user