blob: 87c3beda5a81c68191e0314f3217de7a4474b802 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001[if-any local_id]
2 [define title][local_id][end]
3[else]
4 [define title]Monorail[end]
5[end]
6
7[define is_ezt][end]
8[include "../framework/header-shared.ezt"]
9
10[include "../webpack-out/mr-app.ezt"]
11
12<mr-app [if-any logged_in_user]
13 userDisplayName="[logged_in_user.email]"[end]
14 loginUrl="[login_url]"
15 logoutUrl="[logout_url]"
16 versionBase="[version_base]"
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +010017 projectAlert="[project_alert]"
Copybara854996b2021-09-07 19:36:02 +000018></mr-app>
19
20[include "../framework/polymer-footer.ezt"]
21
22[if-any local_id]
23 <script type="text/javascript" nonce="[nonce]">
24 window.addEventListener('load', () => {
25 window.getTSMonClient().recordIssueDetailSpaTiming();
26 });
27 </script>
28[end]
29
30<script type="text/javascript" nonce="[nonce]">
31 runOnLoad(function() {
32 if (typeof(ClientLogger) === "function") {
33 let cl = new ClientLogger("issues");
34 if (cl.started("new-issue")) {
35 cl.logEnd("new-issue", null, 120 * 1000);
36 }
37 if (cl.started("issue-search")) {
38 cl.logEnd("issue-search");
39 }
40 }
41 });
42</script>