diff --git a/config/config.go b/config/config.go index 06311d2..4544050 100644 --- a/config/config.go +++ b/config/config.go @@ -23,6 +23,9 @@ import ( // AMSTERDAM_VERSION contains the version number of Amsterdam. const AMSTERDAM_VERSION = "0.0.1" +// AMSTERDAM_COPYRIGHT contains the copyright dates for Amsterdam. +const AMSTERDAM_COPYRIGHT = "2025" + // AmCLI is the command-line interface arguments structure. type AmCLI struct { ConfigFile string `arg:"-C,--config" help:"Location of the configuration file."` diff --git a/ui/templates.go b/ui/templates.go index 57017ce..4233149 100644 --- a/ui/templates.go +++ b/ui/templates.go @@ -37,6 +37,7 @@ func SetupTemplates() { jet.DevelopmentMode(true), ) views.AddGlobal("AmsterdamVersion", config.AMSTERDAM_VERSION) + views.AddGlobal("AmsterdamCopyright", config.AMSTERDAM_COPYRIGHT) views.AddGlobal("GlobalConfig", config.GlobalConfig) } diff --git a/ui/views/about.jet b/ui/views/about.jet index 4b85c50..58345e0 100644 --- a/ui/views/about.jet +++ b/ui/views/about.jet @@ -7,54 +7,57 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. *}
-
+ - Copyright © 2025 Erbosoft Metaverse Design Solutions, All Rights Reserved. -
-- This software is subject to the - Mozilla Public License Version 2.0. - It is distributed on an "AS IS" basis, without warranty of any kind, either express or implied. - See the License for the specific language governing rights and limitations under the License. -
-+ Copyright © {{ AmsterdamCopyright }} Erbosoft Metaverse Design Solutions, + All Rights Reserved. +
++ This software is subject to the + Mozilla Public License Version 2.0. + It is distributed on an "AS IS" basis, without warranty of any kind, either express or implied. + See the License for the specific language governing rights and limitations under the License. +
+- Thanks to: Howard, who thought it up; Andre, who rescued it the first time; the Electric Minds community, who rescued it again; - and Nicole, without whom none of this would have been possible. -
-+ Thanks to: Howard, who thought it up; Andre, who rescued it the first time; the Electric Minds community, who rescued it again; + and Nicole, without whom none of this would have been possible. +
+