Small fixes

This commit is contained in:
Anna-Sara Sélea 2026-01-30 19:53:51 +01:00
parent edae39c3c5
commit 3e4718537e
5 changed files with 21 additions and 27 deletions

View file

@ -22,6 +22,7 @@ class MailtemplateForm
->required() ->required()
->columnSpanFull(), ->columnSpanFull(),
TextInput::make('type') TextInput::make('type')
->label('Greeting')
->required() ->required()
->columnSpanFull(), ->columnSpanFull(),
MarkdownEditor::make('content') MarkdownEditor::make('content')

View file

@ -35,7 +35,7 @@ class LanMail extends Mailable
public function envelope(): Envelope public function envelope(): Envelope
{ {
return new Envelope( return new Envelope(
subject: mb_decode_mimeheader($this->title), subject: $this->title,
); );
} }

View file

@ -67,6 +67,8 @@ return [
'timezone' => 'UTC', 'timezone' => 'UTC',
'charset' => 'UTF-8',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Application Locale Configuration | Application Locale Configuration

View file

@ -77,30 +77,4 @@ return [
public_path('storage') => storage_path('app/public'), public_path('storage') => storage_path('app/public'),
], ],
/*
|--------------------------------------------------------------------------
| Exports
|--------------------------------------------------------------------------
|
|
*/
'export' => [
'driver' => 'local',
'root' => storage_path('app/exports'),
'url' => env('APP_URL') . '/exports',
'visibility' => 'public',
'permissions' => [
'file' => [
'public' => 0644,
'private' => 0600,
],
'dir' => [
'public' => 0755,
'private' => 0700,
],
],
'throw' => false,
]
]; ];

View file

@ -4,6 +4,23 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://analytics.vbytes.se/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '27']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
<title inertia>{{ config('app.name', 'Laravel') }}</title> <title inertia>{{ config('app.name', 'Laravel') }}</title>
<!-- Fonts --> <!-- Fonts -->