Skip to content

Commit 952a166

Browse files
committed
Merge branch 'develop' into 8.0
2 parents b466424 + c100e40 commit 952a166

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You can support us by either sponsoring us or buying one of our paid products. O
3131

3232
### Buy our Paid Products
3333

34-
[![InfyChat](https://assets.infyom.com/open-source/infychat-banner.png)](https://bit.ly/3gYLWny)
34+
[![InfyChat](https://assets.infyom.com/open-source/infychat-banner.png)](https://1.envato.market/jWeAmM)
3535

3636
You can also check out our other paid products on [CodeCanyon](https://codecanyon.net/user/infyomlabs/portfolio).
3737

src/Commands/Publish/LayoutPublishCommand.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,17 @@ private function getViews()
9898
private function getLocaleViews()
9999
{
100100
return [
101-
'layouts/app_locale' => 'layouts/app.blade.php',
102-
'layouts/sidebar_locale' => 'layouts/sidebar.blade.php',
103-
'layouts/datatables_css' => 'layouts/datatables_css.blade.php',
104-
'layouts/datatables_js' => 'layouts/datatables_js.blade.php',
105-
'layouts/menu' => 'layouts/menu.blade.php',
106-
'layouts/home' => 'home.blade.php',
107-
'auth/login_locale' => 'auth/login.blade.php',
108-
'auth/register_locale' => 'auth/register.blade.php',
109-
'auth/email_locale' => 'auth/passwords/email.blade.php',
110-
'auth/reset_locale' => 'auth/passwords/reset.blade.php',
111-
'emails/password_locale' => 'auth/emails/password.blade.php',
101+
'layouts/app_locale' => 'layouts/app.blade.php',
102+
'layouts/sidebar_locale' => 'layouts/sidebar.blade.php',
103+
'layouts/datatables_css' => 'layouts/datatables_css.blade.php',
104+
'layouts/datatables_js' => 'layouts/datatables_js.blade.php',
105+
'layouts/menu' => 'layouts/menu.blade.php',
106+
'layouts/home' => 'home.blade.php',
107+
'auth/login_locale' => 'auth/login.blade.php',
108+
'auth/register_locale' => 'auth/register.blade.php',
109+
'auth/passwords/email_locale' => 'auth/passwords/email.blade.php',
110+
'auth/passwords/reset_locale' => 'auth/passwords/reset.blade.php',
111+
'auth/emails/password_locale' => 'auth/emails/password.blade.php',
112112
];
113113
}
114114

src/Generators/Scaffold/MenuGenerator.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public function generate()
5151
{
5252
$this->menuContents .= $this->menuTemplate.infy_nl();
5353
$existingMenuContents = file_get_contents($this->path);
54-
if (Str::contains($existingMenuContents, '<span>'.$this->commandData->config->mHumanPlural.'</span>')) {
54+
// adminlte uses <p> tab and coreui+stisla uses <span> tag for menu
55+
if (Str::contains($existingMenuContents, '<p>'.$this->commandData->config->mHumanPlural.'</p>') or
56+
Str::contains($existingMenuContents, '<span>'.$this->commandData->config->mHumanPlural.'</span>')) {
5557
$this->commandData->commandObj->info('Menu '.$this->commandData->config->mHumanPlural.' is already exists, Skipping Adjustment.');
5658

5759
return;

0 commit comments

Comments
 (0)