b1af963916
Honor user blocks in ProfileReplyEditSubmit. Reduce boilerplate. Update account_privacy_profile_comments phrase. Add account_privacy_profile_comments_public phrase. Add account_privacy_profile_comments_registered phrase. Add account_privacy_profile_comments_self phrase. Add account_privacy_enable_embeds phrase. Add profile_comments column to users table. Add who_can_convo column to users table. You will need to run the updater / patcher for this commit.
21 lines
459 B
HTML
21 lines
459 B
HTML
<script>
|
|
let rawLabels = [{{range .Graph.Labels}}
|
|
{{.}},{{end}}
|
|
];
|
|
let seriesData = [{{range .Graph.Series}}[{{range .}}
|
|
{{.}},{{end}}
|
|
],{{end}}
|
|
];
|
|
let legendNames = [{{range .Graph.Legends}}
|
|
{{.}},{{end}}
|
|
];
|
|
|
|
addInitHook("after_phrases", () => {
|
|
addInitHook("end_init", () => {
|
|
addInitHook("analytics_loaded", () => {
|
|
perfStuff(window,document,Chartist);
|
|
buildStatsChart(rawLabels,seriesData,"{{.TimeRange}}",legendNames,2);
|
|
});
|
|
});
|
|
});
|
|
</script> |