diff --git a/login.go b/Authentification.go similarity index 100% rename from login.go rename to Authentification.go diff --git a/Chat.go b/Chat.go index 94e4fc2..2277f79 100644 --- a/Chat.go +++ b/Chat.go @@ -812,7 +812,8 @@ func LoadSettingsHandler(c *fiber.Ctx) error { "GooseaiExists": gooseaiExists, "GoogleExists": googleExists, "AnyExists": openaiExists || anthropicExists || mistralExists || groqExists || gooseaiExists || googleExists, - "IsSub": isPremium || isBasic, + "isPremium": isPremium, + "isBasic": isBasic, "StripeSubLink": stripeSubLink, }) if err != nil { diff --git a/database.go b/EdgeDatabase.go similarity index 100% rename from database.go rename to EdgeDatabase.go diff --git a/utils.go b/MyUtils.go similarity index 100% rename from utils.go rename to MyUtils.go diff --git a/views/partials/popover-settings.html b/views/partials/popover-settings.html index 58ba8b7..3d8782b 100644 --- a/views/partials/popover-settings.html +++ b/views/partials/popover-settings.html @@ -93,9 +93,10 @@
- {% if IsSub %} + {% if IsSub or isPremium %} - + Manage subscription