Skip to content

Commit

Permalink
Update user subscription expiration check in base.html
Browse files Browse the repository at this point in the history
- Modify JavaScript condition for displaying subscription expired popup
- Change check_usr condition from 0 to 1 to trigger subscription expiration message
  • Loading branch information
NagiPragalathan committed Feb 10, 2025
1 parent f8d961c commit 9e64f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,7 @@ <h2 class="text-sm font-semibold text-gray-800">{{ usr_name }}</h2>
document.getElementById("error-pop").style.display = "flex";
}

if (check_usr == 0) {
if (check_usr == 1) {
document.getElementById("subscription_expired-pop").style.display = "flex";
} else {
console.log("valied user...!");
Expand Down

0 comments on commit 9e64f3c

Please sign in to comment.