Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1243)

Unified Diff: milo/appengine/settings/themes.go

Issue 2248893002: Settings page for analytics ID (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: y Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/appengine/frontend/templates/buildbot/includes/buildbot.html ('k') | server/analytics/analytics.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/settings/themes.go
diff --git a/milo/appengine/settings/themes.go b/milo/appengine/settings/themes.go
index 0de66514c57c890a681a9eb99b9b886e1cd794fb..c0859eae381fc31809b5423db6faf8be642e3259 100644
--- a/milo/appengine/settings/themes.go
+++ b/milo/appengine/settings/themes.go
@@ -20,6 +20,7 @@ import (
"github.com/luci/luci-go/appengine/gaemiddleware"
"github.com/luci/luci-go/common/clock"
"github.com/luci/luci-go/milo/common/miloerror"
+ "github.com/luci/luci-go/server/analytics"
"github.com/luci/luci-go/server/auth"
"github.com/luci/luci-go/server/router"
"github.com/luci/luci-go/server/templates"
@@ -102,6 +103,7 @@ func GetTemplateBundles() []NamedBundle {
"LoginURL": loginURL,
"LogoutURL": logoutURL,
"CurrentTime": clock.Now(c),
+ "Analytics": analytics.Snippet(c),
}, nil
},
FuncMap: funcMap,
« no previous file with comments | « milo/appengine/frontend/templates/buildbot/includes/buildbot.html ('k') | server/analytics/analytics.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698