diff --git a/cmd/photoprism/photoprism.go b/cmd/photoprism/photoprism.go index 07e5d1035..fa7197aeb 100644 --- a/cmd/photoprism/photoprism.go +++ b/cmd/photoprism/photoprism.go @@ -37,6 +37,7 @@ var log = event.Log const appName = "PhotoPrism" const appAbout = "PhotoPrism® CE" +const appEdition = "ce" const appDescription = "PhotoPrism® is an AI-Powered Photos App for the Decentralized Web." + " It makes use of the latest technologies to tag and find pictures automatically without getting in your way." + " You can run it at home, on a private server, or in the cloud." @@ -46,6 +47,7 @@ const appCopyright = "(c) 2018-2023 PhotoPrism UG. All rights reserved." var Metadata = map[string]interface{}{ "Name": appName, "About": appAbout, + "Edition": appEdition, "Description": appDescription, "Version": version, } diff --git a/frontend/src/component/navigation.vue b/frontend/src/component/navigation.vue index 3ec025214..fe3ec54c1 100644 --- a/frontend/src/component/navigation.vue +++ b/frontend/src/component/navigation.vue @@ -493,7 +493,7 @@ - + Upgrade @@ -702,6 +702,7 @@ export default { appIcon: this.$config.getIcon(), indexing: false, drawer: null, + featUpgrade: this.$config.getLicense() === "ce", isRestricted: isRestricted, isMini: localStorage.getItem('last_navigation_mode') !== 'false' || isRestricted, isPublic: this.$config.get("public"),