Skip to content

Commit

Permalink
do not make the new smartphone UI the default just yet
Browse files Browse the repository at this point in the history
  • Loading branch information
bobintetley committed Aug 17, 2023
1 parent 474a2d7 commit 8d2f904
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion changelog
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
================

17/08/23 Handle nulls in name fields when constructing OwnerName
16/08/23 Make new smartphone UI the default, final tweaks #1096
16/08/23 Smartphone UI tweaks #1096
16/08/23 Use 2FA buttons and validate user has set up TOTP before enabling #1318
16/08/23 Do not send password reset emails for disabled user accounts
16/08/23 Fix report param extraction so it doesn't fail with incomplete tokens
Expand Down
2 changes: 1 addition & 1 deletion src/static/js/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ header = {
'<div id="asm-topline-user-body" class="asm-menu-body">',
'<ul class="asm-menu-list">',
'<li class="asm-menu-category">' + (asm.userreal ? asm.userreal : asm.user) + '</li>',
'<li id="asm-mobile" class="asm-menu-item"><a href="mobile2"><nobr><span class="asm-icon asm-icon-mobile"></span> ' + _("Switch to Smartphone UI") + '</nobr></a></li>',
'<li id="asm-mobile" class="asm-menu-item"><a href="mobile"><nobr><span class="asm-icon asm-icon-mobile"></span> ' + _("Switch to Smartphone UI") + '</nobr></a></li>',
'<li id="asm-mysmcom" class="asm-menu-item"><a href="smcom_my" target="_blank"><nobr><span class="asm-icon asm-icon-logo"></span> ' + _("My sheltermanager.com account") + '</nobr></a></li>',
'<li id="asm-chpassword" class="asm-menu-item"><a href="change_password"><nobr><span class="asm-icon asm-icon-auth"></span> ' + _("Change Password") + '</nobr></a></li>',
'<li id="asm-chusersettings" class="asm-menu-item"><a href="change_user_settings"><nobr><span class="asm-icon asm-icon-settings"></span> ' + _("Change User Settings") + '</nobr></a></li>',
Expand Down
2 changes: 1 addition & 1 deletion src/static/js/mobile_login.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ $(document).ready(function() {
window.location = controller.target;
}
else {
window.location = "mobile2";
window.location = "mobile";
}
}
},
Expand Down

0 comments on commit 8d2f904

Please sign in to comment.