Skip to content

Commit 01f2edc

Browse files
committed
improvements..
1 parent 5fe4d71 commit 01f2edc

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

src/Darryldecode/Backend/Base/Views/layouts/master.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<title>Content Builder</title>
8+
<title>{{Config::get('backend.backend.backend_title')}}</title>
99

1010
@include('backend::includes.styles')
1111

src/Darryldecode/Backend/Components/Auth/Views/login.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<title>Content Builder</title>
8+
<title>{{Config::get('backend.backend.backend_title')}}</title>
99

1010
@include('backend::includes.styles')
1111

@@ -33,7 +33,7 @@
3333
</head>
3434
<body>
3535
<div class="container">
36-
<h1 class="text-center lb-login-title">LARAVEL BACKEND</h1>
36+
<h1 class="text-center lb-login-title">{{Config::get('backend.backend.backend_title')}}</h1>
3737
<div class="lb-login-form">
3838
@if($errors->first())
3939
<div class="alert alert-danger">

src/Darryldecode/Backend/Components/ContentBuilder/Commands/UpdateContentCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function handle(Content $content, ContentType $contentType, Dispatcher $d
137137
};
138138

139139
// fire event updating
140-
$dispatcher->fire($cType->type.'.updating', array($c));
140+
$dispatcher->fire($cType->type.'.updating', array($c, $this->args));
141141

142142
// hold the current content so we can use it later if revisions is enabled
143143
$oldBody = $c->body;

src/Darryldecode/Backend/Config/backend.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@
1818
'disabled_widgets' => array(
1919
'Dashboard Welcome Message'
2020
),
21+
22+
/*
23+
* The title to be use on Backend
24+
*/
25+
'backend_title' => 'Laravel Backend'
2126
];

0 commit comments

Comments
 (0)