Formatting
This commit is contained in:
parent
8a496ccebc
commit
87853921c3
1 changed files with 31 additions and 31 deletions
|
@ -27,38 +27,38 @@
|
||||||
<!-- Horizontal Form -->
|
<!-- Horizontal Form -->
|
||||||
<div class="box box-default">
|
<div class="box box-default">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h2 class="box-title">
|
<h2 class="box-title">
|
||||||
@if (request()->routeIs('report-templates.edit'))
|
@if (request()->routeIs('report-templates.edit'))
|
||||||
Updating: {{ $reportTemplate->name }}
|
Updating: {{ $reportTemplate->name }}
|
||||||
@elseif(request()->routeIs('report-templates.show'))
|
@elseif(request()->routeIs('report-templates.show'))
|
||||||
Saved Template: {{ $reportTemplate->name }}
|
Saved Template: {{ $reportTemplate->name }}
|
||||||
@else
|
@else
|
||||||
{{ trans('general.customize_report') }}
|
{{ trans('general.customize_report') }}
|
||||||
@endif
|
|
||||||
</h2>
|
|
||||||
@if (request()->routeIs('report-templates.show') || request()->routeIs('report-templates.edit'))
|
|
||||||
<div class="box-tools pull-right">
|
|
||||||
<a
|
|
||||||
href="{{ route('report-templates.edit', $reportTemplate) }}"
|
|
||||||
class="btn btn-sm btn-warning"
|
|
||||||
data-tooltip="true"
|
|
||||||
title="Update"
|
|
||||||
>
|
|
||||||
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
|
||||||
<span class="sr-only">{{ trans('general.update') }}</span>
|
|
||||||
</a>
|
|
||||||
<button
|
|
||||||
class="btn btn-sm btn-danger delete-asset"
|
|
||||||
data-toggle="modal"
|
|
||||||
data-title="{{ trans('general.delete') }}"
|
|
||||||
data-content="{{ trans('general.delete_confirm', ['item' => $reportTemplate->name]) }}"
|
|
||||||
data-target="#dataConfirmModal"
|
|
||||||
type="button"
|
|
||||||
>
|
|
||||||
<i class="fas fa-trash" aria-hidden="true"></i><span class="sr-only">{{ trans('general.delete') }}</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
|
</h2>
|
||||||
|
@if (request()->routeIs('report-templates.show') || request()->routeIs('report-templates.edit'))
|
||||||
|
<div class="box-tools pull-right">
|
||||||
|
<a
|
||||||
|
href="{{ route('report-templates.edit', $reportTemplate) }}"
|
||||||
|
class="btn btn-sm btn-warning"
|
||||||
|
data-tooltip="true"
|
||||||
|
title="Update"
|
||||||
|
>
|
||||||
|
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
||||||
|
<span class="sr-only">{{ trans('general.update') }}</span>
|
||||||
|
</a>
|
||||||
|
<button
|
||||||
|
class="btn btn-sm btn-danger delete-asset"
|
||||||
|
data-toggle="modal"
|
||||||
|
data-title="{{ trans('general.delete') }}"
|
||||||
|
data-content="{{ trans('general.delete_confirm', ['item' => $reportTemplate->name]) }}"
|
||||||
|
data-target="#dataConfirmModal"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<i class="fas fa-trash" aria-hidden="true"></i><span class="sr-only">{{ trans('general.delete') }}</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</div><!-- /.box-header -->
|
</div><!-- /.box-header -->
|
||||||
|
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
|
|
Loading…
Add table
Reference in a new issue