diff --git a/.gitignore b/.gitignore index d637105f..b2b79cbf 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,5 @@ RouterGen Patcher Gosora Installer -template_*.go \ No newline at end of file +template_*.go +template_*.jgo \ No newline at end of file diff --git a/public/init.js b/public/init.js index 2428f4c7..7d35cbfe 100644 --- a/public/init.js +++ b/public/init.js @@ -180,8 +180,8 @@ function initPhrases(loggedIn, panel = false) { let e = ""; if(loggedIn && !panel) e = ",topic_list,topic"; else if(panel) e = ",analytics,panel"; // TODO: Request phrases for just one section of the control panel? - else e = ",topic_list"; - fetchPhrases("status,alerts,paginator"+e) // TODO: Break this up? + else e = ",status,topic_list"; + fetchPhrases("alerts,paginator"+e) // TODO: Break this up? } function fetchPhrases(plist) { diff --git a/templates/header.html b/templates/header.html index 4fae1421..fe999d9e 100644 --- a/templates/header.html +++ b/templates/header.html @@ -7,7 +7,7 @@ {{range .Header.PreScriptsAsync}} {{end}} - + {{range .Header.ScriptsAsync}} {{end}} diff --git a/templates/panel_analytics_agent_views.html b/templates/panel_analytics_agent_views.html index ad644839..7b70f43a 100644 --- a/templates/panel_analytics_agent_views.html +++ b/templates/panel_analytics_agent_views.html @@ -1,20 +1,19 @@ {{template "header.html" . }}