mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Remove extra parentheses from projects page
This commit is contained in:
parent
12c0fba5aa
commit
66df763747
@ -61,34 +61,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if(Auth::user()->canCreateOrEdit(ENTITY_PROJECT)))
|
@if(Auth::user()->canCreateOrEdit(ENTITY_PROJECT))
|
||||||
<center class="buttons">
|
<center class="buttons">
|
||||||
{!! Button::normal(trans('texts.cancel'))->large()->asLinkTo(HTMLUtils::previousUrl('/projects'))->appendIcon(Icon::create('remove-circle')) !!}
|
{!! 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')) !!}
|
{!! 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>
|
</center>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user