Skip to content

Commit c782f29

Browse files
committed
Pulled account sub-nav into top menu to free up UI space. #changelog
1 parent 2825bcb commit c782f29

File tree

5 files changed

+10
-14
lines changed

5 files changed

+10
-14
lines changed

app/lang/en/general.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
'cancel' => 'Cancel',
1515
'categories' => 'Categories',
1616
'category' => 'Category',
17+
'changeemail' => 'Update Email',
18+
'changepassword' => 'Update Password',
1719
'checkin' => 'Checkin',
1820
'checkout' => 'Checkout',
1921
'city' => 'City',
@@ -29,6 +31,7 @@
2931
'deployed' => 'Deployed',
3032
'depreciation_report' => 'Depreciation Report',
3133
'depreciation' => 'Depreciation',
34+
'editprofile' => 'Edit Profile',
3235
'eol' => 'EOL',
3336
'first_name' => 'First Name',
3437
'groups' => 'Groups',
@@ -41,14 +44,14 @@
4144
'list_all' => 'List All',
4245
'locations' => 'Locations',
4346
'logout' => 'Logout',
44-
'manufacturers' => 'Manufacturers',
4547
'manufacturer' => 'Manufacturer',
48+
'manufacturers' => 'Manufacturers',
4649
'model_no' => 'Model No.',
4750
'months' => 'months',
4851
'moreinfo' => 'More Info',
4952
'name' => 'Name',
50-
'no_results' => 'No Results.',
5153
'no_depreciation' => 'No Derepciation',
54+
'no_results' => 'No Results.',
5255
'no' => 'No',
5356
'pending' => 'Pending',
5457
'people' => 'People',
@@ -69,6 +72,7 @@
6972
'undeployable' => 'Un-deployable',
7073
'unknown_admin' => 'Unknown Admin',
7174
'user' => 'User',
75+
'viewassets' => 'View Assets',
7276
'welcome' => 'Welcome, :name',
7377
'years' => 'years',
7478
'yes' => 'Yes',

app/views/frontend/account/change-email.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="row header">
1111

1212
<div class="col-md-12">
13-
<h3>Change Your Email</h3>
13+
<h3>@lang('general.changeemail')</h3>
1414
</div>
1515
</div>
1616

app/views/frontend/account/change-password.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="row header">
1111

1212
<div class="col-md-12">
13-
<h3>Change Your Password</h3>
13+
<h3>@lang('general.changepassword')</h3>
1414
</div>
1515
</div>
1616

app/views/frontend/account/profile.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="row header">
1111

1212
<div class="col-md-12">
13-
<h3>Update Profile</h3>
13+
<h3>@lang('general.editprofile')</h3>
1414
</div>
1515
</div>
1616

app/views/frontend/layouts/account.blade.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@
33
{{-- Page content --}}
44
@section('content')
55
<div class="row">
6-
<div class="col-md-3">
7-
<ul class="nav nav-list">
8-
<li{{ Request::is('account/profile') ? ' class="active"' : '' }}><a href="{{ URL::route('profile') }}">Profile</a></li>
9-
<li{{ Request::is('account/change-password') ? ' class="active"' : '' }}><a href="{{ URL::route('change-password') }}">Change Password</a></li>
10-
<li{{ Request::is('account/change-email') ? ' class="active"' : '' }}><a href="{{ URL::route('change-email') }}">Change Email</a></li>
11-
12-
</ul>
13-
</div>
14-
<div class="col-md-9">
6+
<div class="col-md-12">
157
@yield('account-content')
168
</div>
179
</div>

0 commit comments

Comments
 (0)