From 93aa6bd0ba8bbbb1f966119507dbe40dfc8da4b9 Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Sun, 21 Sep 2025 23:12:56 -0600 Subject: [PATCH] added copyright date to templates --- config/config.go | 3 ++ ui/templates.go | 1 + ui/views/about.jet | 95 ++++++++++++++++++++++++---------------------- ui/views/frame.jet | 2 +- 4 files changed, 54 insertions(+), 47 deletions(-) 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/. *}
- -
- Amsterdam Web Communities System -
+
+ +
+ Amsterdam Web Communities System +
- -
-

Amsterdam Web Communities System Release {{ AmsterdamVersion }}

-

- 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. -

-
+ +
+

Amsterdam Web Communities System Release {{ AmsterdamVersion }}

+

+ 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. +

+
- -
-

The Amsterdam Project Team

-
-
-
Amy Gale Ruth Bowersox
-
Code wrangler, system guru, and administrator in general
-
-
-
+ +
+

The Amsterdam Project Team

+
+
+
Amy Gale Ruth Bowersox
+
Code wrangler, system guru, and administrator in general
+
+
+
- -
-

- 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. +

+
- -
- - Erbosoft Metaverse Design Solutions - + +
+ + Erbosoft Metaverse Design Solutions + +
-
\ No newline at end of file +
diff --git a/ui/views/frame.jet b/ui/views/frame.jet index 849b309..3f3397c 100644 --- a/ui/views/frame.jet +++ b/ui/views/frame.jet @@ -107,7 +107,7 @@
All trademarks and copyrights on this page are owned by their respective companies.
All messages posted by users on this page are owned by those users.
- The rest: Copyright © 2025 + The rest: Copyright © {{ AmsterdamCopyright }} Erbosoft Metaverse Design Solutions, All Rights Reserved.
See our Policy Page