Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | [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Ãnez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame] | 17 | projectAlert="[project_alert]" |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 18 | ></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> |