A free open source IT asset/license management system
Use theme button, scope route
snipe2fd7406f810a
diff --git a/resources/views/reports/activity.blade.php b/resources/views/reports/activity.blade.phpindex d9b58b2dda..5dd1d1a53f 100644--- a/resources/views/reports/activity.blade.php+++ b/resources/views/reports/activity.blade.php@@ -9,7 +9,7 @@@section('header_right')<form method="POST" action="{{ route('reports.activity.post') }}" accept-charset="UTF-8" class="form-horizontal">{{csrf_field()}}- <button type="submit" class="btn btn-default">+ <button type="submit" class="btn btn-theme"><x-icon type="download" />{{ trans('general.download_all') }}</button>@@ -29,7 +29,7 @@data-sort-order="desc"data-sort-name="created_at"id="activityReport"- data-url="{{ route('api.activity.index') }}"+ data-url="{{ $canManageReports ? route('api.activity.index') : route('api.dashboard.activity') }}"class="table table-striped snipe-table snipe-table--sticky-right-1"data-export-options='{"fileName": "activity-report-{{ date('Y-m-d') }}",