From 7b4ff6cfcdde745f6a3ac8ab48a29190a54ef518 Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Mon, 22 Jul 2024 18:45:31 -0600 Subject: [PATCH] Small template fixes --- billing/routes.go | 1 + core/routes.go | 3 ++- templates/feature_tour.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/billing/routes.go b/billing/routes.go index 82b5c19..1bbc274 100644 --- a/billing/routes.go +++ b/billing/routes.go @@ -191,6 +191,7 @@ func (s *Service) CheckoutCancel(c echo.Context) error { lt := localizer.GetSessionLocalizer(c) pd := localizer.NewPageData(lt.Translate("Checkout Cancelled")) pd.Data["message"] = lt.Translate("Your subscription payment has been cancelled") + pd.Data["continue"] = lt.Translate("Continue") gmap := gobwebs.Map{ "pd": pd, } diff --git a/core/routes.go b/core/routes.go index a7d392d..f3b7a6f 100644 --- a/core/routes.go +++ b/core/routes.go @@ -408,8 +408,9 @@ func (s *Service) FeatureTour(c echo.Context) error { pd.Data["line7a"] = lt.Translate("Since we're a") pd.Data["line7b"] = lt.Translate("100%% open source project") pd.Data["line7c"] = lt.Translate(" you can host your own instance if you'd " + - "like full control over your own platform. See the install docs for more.", + "like full control over your own platform.", ) + pd.Data["line7d"] = lt.Translate("See the installation documentation for more.") pd.Data["line8"] = lt.Translate( "Ready to get started? It's free to make an account and use it forever (with " + "some limitations). To use all features you have to pay just a few bucks a year, " + diff --git a/templates/feature_tour.html b/templates/feature_tour.html index 8012172..6035dfe 100644 --- a/templates/feature_tour.html +++ b/templates/feature_tour.html @@ -19,7 +19,7 @@

{{.pd.Data.line3}}

-

{{.pd.Data.line7a}} {{ .pd.Data.line7b }} {{ .pd.Data.line7c }}

+

{{.pd.Data.line7a}} {{ .pd.Data.line7b }} {{ .pd.Data.line7c }} {{ .pd.Data.line7d }}

{{.pd.Data.line8}}

-- 2.45.2