Skip to content

A free open source IT asset/license management system

Update page titles

Marcus Moore4aa596186004
diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php
index 1f0d6fd812..e817fde5db 100644
--- a/resources/views/reports/custom.blade.php
+++ b/resources/views/reports/custom.blade.php
@@ -46,13 +46,11 @@
<!-- Horizontal Form -->
<div class="box box-default">
<div class="box-header with-border">
- <h2 class="box-title">
- @if (request()->routeIs('report-templates.show'))
- {{ $template->name }}
- @elseif (request()->routeIs('reports/custom'))
+ @if (request()->routeIs('reports/custom') || request()->routeIs('report-templates.show'))
+ <h2 class="box-title">
{{ trans('general.customize_report') }}
- @endif
- </h2>
+ </h2>
+ @endif
@if (request()->routeIs('report-templates.edit'))
<div class="pull-right">
<div class="form-inline {{ $errors->has('name') ? ' has-error' : '' }}">