Merge pull request #15687 from NebelKreis/fix/dashboard-title-casing

Fixed #15686: Corrected capitalization for dashboard section titles by removing strtolower()
This commit is contained in:
snipe 2024-10-22 16:52:28 +01:00 committed by GitHub
commit 5e1d792bba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@
<div class="dashboard small-box bg-teal"> <div class="dashboard small-box bg-teal">
<div class="inner"> <div class="inner">
<h3>{{ number_format(\App\Models\Asset::AssetsForShow()->count()) }}</h3> <h3>{{ number_format(\App\Models\Asset::AssetsForShow()->count()) }}</h3>
<p>{{ strtolower(trans('general.assets')) }}</p> <p>{{ trans('general.assets') }}</p>
</div> </div>
<div class="icon" aria-hidden="true"> <div class="icon" aria-hidden="true">
<x-icon type="assets" /> <x-icon type="assets" />
@ -54,7 +54,7 @@
<div class="dashboard small-box bg-maroon"> <div class="dashboard small-box bg-maroon">
<div class="inner"> <div class="inner">
<h3>{{ number_format($counts['license']) }}</h3> <h3>{{ number_format($counts['license']) }}</h3>
<p>{{ strtolower(trans('general.licenses')) }}</p> <p>{{ trans('general.licenses') }}</p>
</div> </div>
<div class="icon" aria-hidden="true"> <div class="icon" aria-hidden="true">
<x-icon type="licenses" /> <x-icon type="licenses" />
@ -75,7 +75,7 @@
<div class="dashboard small-box bg-orange"> <div class="dashboard small-box bg-orange">
<div class="inner"> <div class="inner">
<h3> {{ number_format($counts['accessory']) }}</h3> <h3> {{ number_format($counts['accessory']) }}</h3>
<p>{{ strtolower(trans('general.accessories')) }}</p> <p>{{ trans('general.accessories') }}</p>
</div> </div>
<div class="icon" aria-hidden="true"> <div class="icon" aria-hidden="true">
<x-icon type="accessories" /> <x-icon type="accessories" />
@ -96,7 +96,7 @@
<div class="dashboard small-box bg-purple"> <div class="dashboard small-box bg-purple">
<div class="inner"> <div class="inner">
<h3> {{ number_format($counts['consumable']) }}</h3> <h3> {{ number_format($counts['consumable']) }}</h3>
<p>{{ strtolower(trans('general.consumables')) }}</p> <p>{{ trans('general.consumables') }}</p>
</div> </div>
<div class="icon" aria-hidden="true"> <div class="icon" aria-hidden="true">
<x-icon type="consumables" /> <x-icon type="consumables" />
@ -115,7 +115,7 @@
<div class="dashboard small-box bg-yellow"> <div class="dashboard small-box bg-yellow">
<div class="inner"> <div class="inner">
<h3>{{ number_format($counts['component']) }}</h3> <h3>{{ number_format($counts['component']) }}</h3>
<p>{{ strtolower(trans('general.components')) }}</p> <p>{{ trans('general.components') }}</p>
</div> </div>
<div class="icon" aria-hidden="true"> <div class="icon" aria-hidden="true">
<x-icon type="components" /> <x-icon type="components" />
@ -135,7 +135,7 @@
<div class="dashboard small-box bg-light-blue"> <div class="dashboard small-box bg-light-blue">
<div class="inner"> <div class="inner">
<h3>{{ number_format($counts['user']) }}</h3> <h3>{{ number_format($counts['user']) }}</h3>
<p>{{ strtolower(trans('general.people')) }}</p> <p>{{ trans('general.people') }}</p>
</div> </div>
<div class="icon" aria-hidden="true"> <div class="icon" aria-hidden="true">
<x-icon type="users" /> <x-icon type="users" />