Skip to content

Commit 29e520c

Browse files
committed
.
1 parent 8369eea commit 29e520c

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

src/LightBootstrapPreset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public static function addUserManagement()
131131
// Add routes
132132
file_put_contents(
133133
'./routes/web.php',
134-
"Route::group(['middleware' => 'auth'], function () {\n\tRoute::resource('user', 'UserController', ['except' => ['show']]);\n\tRoute::get('profile', ['as' => 'profile.edit', 'uses' => 'ProfileController@edit']);\n\tRoute::put('profile', ['as' => 'profile.update', 'uses' => 'ProfileController@update']);\n\tRoute::put('profile/password', ['as' => 'profile.password', 'uses' => 'ProfileController@password']);\n});\n\n",
134+
"Route::group(['middleware' => 'auth'], function () {\n\tRoute::resource('user', 'UserController', ['except' => ['show']]);\n\tRoute::get('profile', ['as' => 'profile.edit', 'uses' => 'ProfileController@edit']);\n\tRoute::patch('profile', ['as' => 'profile.update', 'uses' => 'ProfileController@update']);\n\tRoute::patch('profile/password', ['as' => 'profile.password', 'uses' => 'ProfileController@password']);\n});\n\n",
135135
FILE_APPEND
136136
);
137137

src/light-bootstrap-stubs/resources/views/pages/upgrade.blade.php

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,65 +9,65 @@
99
<div class="col-md-8 ml-auto mr-auto">
1010
<div class="card">
1111
<div class="header text-center">
12-
<h4 class="title">Light Bootstrap Dashboard PRO</h4>
13-
<p class="category">Are you looking for more components? Please check our Premium Version of Light Bootstrap Dashboard.</p>
12+
<h4 class="title">{{__('Light Bootstrap Dashboard PRO')}}</h4>
13+
<p class="category">{{__('Are you looking for more components? Please check our Premium Version of Light Bootstrap Dashboard.')}}</p>
1414
<br>
1515
</div>
1616
<div class="content table-responsive table-upgrade">
1717
<table class="table">
1818
<thead>
1919
<th></th>
20-
<th class="text-center">Free</th>
21-
<th class="text-center">PRO</th>
20+
<th class="text-center">{{__('Free')}}</th>
21+
<th class="text-center">{{__('PRO')}}</th>
2222
</thead>
2323
<tbody>
2424
<tr>
25-
<td>Components</td>
26-
<td>16</td>
27-
<td>115+</td>
25+
<td>{{__('Components')}}</td>
26+
<td>{{__('16')}}</td>
27+
<td>{{__('115+')}}</td>
2828
</tr>
2929
<tr>
30-
<td>Plugins</td>
31-
<td>4</td>
32-
<td>14+</td>
30+
<td>{{__('Plugins')}}</td>
31+
<td>{{__('4')}}</td>
32+
<td>{{__('14+')}}</td>
3333
</tr>
3434
<tr>
35-
<td>Example Pages</td>
36-
<td>4</td>
37-
<td>22+</td>
35+
<td>{{__('Example Pages')}}</td>
36+
<td>{{__('4')}}</td>
37+
<td>{{__('22+')}}</td>
3838
</tr>
3939
<tr>
40-
<td>Documentation</td>
40+
<td>{{__('Documentation')}}</td>
4141
<td><i class="fa fa-times text-danger"></i></td>
4242
<td><i class="fa fa-check text-success"></td>
4343
</tr>
4444
<tr>
45-
<td>SASS Files</td>
45+
<td>{{__('SASS Files')}}</td>
4646
<td><i class="fa fa-times text-danger"></i></td>
4747
<td><i class="fa fa-check text-success"></td>
4848
</tr>
4949
<tr>
50-
<td>Login/Register/Lock Pages</td>
50+
<td>{{__('Login/Register/Lock Pages')}}</td>
5151
<td><i class="fa fa-times text-danger"></i></td>
5252
<td><i class="fa fa-check text-success"></td>
5353
</tr>
5454
<tr>
55-
<td>Premium Support</td>
55+
<td>{{__('Premium Support')}}</td>
5656
<td><i class="fa fa-times text-danger"></i></td>
5757
<td><i class="fa fa-check text-success"></td>
5858
</tr>
5959
<tr>
6060
<td></td>
61-
<td>Free</td>
62-
<td>Just $39</td>
61+
<td>{{__('Free')}}</td>
62+
<td>{{__('Just $39')}}</td>
6363
</tr>
6464
<tr class="last-row">
6565
<td></td>
6666
<td>
67-
<a href="#" class="btn btn-round btn-fill btn-default disabled">Current Version</a>
67+
<a href="#" class="btn btn-round btn-fill btn-default disabled">{{__('Current Version')}}</a>
6868
</td>
6969
<td>
70-
<a target="_blank" href="http://www.creative-tim.com/product/light-bootstrap-dashboard-pro/?ref=lbdupgrade" class="btn btn-round btn-fill btn-info">Upgrade to PRO</a>
70+
<a target="_blank" href="http://www.creative-tim.com/product/light-bootstrap-dashboard-pro-laravel/?ref=lbdupgrade" class="btn btn-round btn-fill btn-info">{{__('Upgrade to PRO')}}</a>
7171
</td>
7272
</tr>
7373
</tbody>

0 commit comments

Comments
 (0)