From 7c89523319d59c0bd66711bf1a8aa24fc91cd0b0 Mon Sep 17 00:00:00 2001 From: Javier Palomo Date: Tue, 1 Mar 2022 20:18:03 +0100 Subject: [PATCH] fix(web-templates): use CleanedBasePath for titles (#2091) A follow-up to https://github.com/runatlantis/atlantis/pull/2079 After upgrading to https://github.com/runatlantis/atlantis/releases/tag/v0.18.3 in our own infra, I noticed a minor issue with the links in the titles, they are still pointing to / even when '--atlantis-url' is provided. --- server/controllers/templates/web_templates.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/controllers/templates/web_templates.go b/server/controllers/templates/web_templates.go index 9a954dae9..d7f598d1e 100644 --- a/server/controllers/templates/web_templates.go +++ b/server/controllers/templates/web_templates.go @@ -391,7 +391,7 @@ var ProjectJobsTemplate = template.Must(template.New("blank.html.tmpl").Parse(`
- +

atlantis

@@ -461,7 +461,7 @@ var ProjectJobsErrorTemplate = template.Must(template.New("blank.html.tmpl").Par
- +

atlantis

@@ -561,7 +561,7 @@ var GithubAppSetupTemplate = template.Must(template.New("github-app.html.tmpl").
- +

atlantis