| OLD | NEW |
| 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="cr-action.html"> | 5 <link rel="import" href="../common/cr-action.html"> |
| 6 <link rel="import" href="cr-butterbar.html"> | 6 <link rel="import" href="../common/cr-butterbar.html"> |
| 7 <link rel="import" href="cr-button.html"> | 7 <link rel="import" href="../common/cr-button.html"> |
| 8 <link rel="import" href="../common/cr-keyboard.html"> |
| 9 <link rel="import" href="../common/cr-toolbar.html"> |
| 10 <link rel="import" href="../common/cr-view-handler.html"> |
| 11 <link rel="import" href="../linkify/cr-linkified-text.html"> |
| 8 <link rel="import" href="cr-issue-discard-drafts-dialog.html"> | 12 <link rel="import" href="cr-issue-discard-drafts-dialog.html"> |
| 9 <link rel="import" href="cr-issue-edit-dialog.html"> | 13 <link rel="import" href="cr-issue-edit-dialog.html"> |
| 10 <link rel="import" href="cr-issue-messages.html"> | 14 <link rel="import" href="cr-issue-messages.html"> |
| 11 <link rel="import" href="cr-issue-meta.html"> | 15 <link rel="import" href="cr-issue-meta.html"> |
| 12 <link rel="import" href="cr-issue-patchsets.html"> | 16 <link rel="import" href="cr-issue-patchsets.html"> |
| 13 <link rel="import" href="cr-issue-publish-dialog.html"> | 17 <link rel="import" href="cr-issue-publish-dialog.html"> |
| 14 <link rel="import" href="cr-issue-revert-dialog.html"> | 18 <link rel="import" href="cr-issue-revert-dialog.html"> |
| 15 <link rel="import" href="cr-keyboard.html"> | |
| 16 <link rel="import" href="cr-toolbar.html"> | |
| 17 <link rel="import" href="cr-try-dialog.html"> | 19 <link rel="import" href="cr-try-dialog.html"> |
| 18 <link rel="import" href="cr-try-results.html"> | 20 <link rel="import" href="cr-try-results.html"> |
| 19 <link rel="import" href="cr-view-handler.html"> | |
| 20 <link rel="import" href="../linkify/cr-linkified-text.html"> | |
| 21 | 21 |
| 22 <polymer-element name="cr-issue" attributes="issue" on-butterbar-update="{{ upda
teButterbar }}" on-show-try-dialog="{{ handleShowTryDialog }}"> | 22 <polymer-element name="cr-issue" attributes="issue" on-butterbar-update="{{ upda
teButterbar }}" on-show-try-dialog="{{ handleShowTryDialog }}"> |
| 23 <template> | 23 <template> |
| 24 <cr-view-handler></cr-view-handler> | 24 <cr-view-handler></cr-view-handler> |
| 25 <link rel="stylesheet" href="common.css"> | 25 <link rel="stylesheet" href="../common/common.css"> |
| 26 <link rel="stylesheet" href="cr-issue.css"> | 26 <link rel="stylesheet" href="cr-issue.css"> |
| 27 | 27 |
| 28 <cr-butterbar message="{{ butterbarMessage }}"></cr-butterbar> | 28 <cr-butterbar message="{{ butterbarMessage }}"></cr-butterbar> |
| 29 | 29 |
| 30 <h1 class="issue-subject"> | 30 <h1 class="issue-subject"> |
| 31 Issue <a href="/{{ issue.id }}">{{ issue.id }}</a><template if="{{ i
ssue.closed }}"> (Closed)</template>: {{ issue.subject }} | 31 Issue <a href="/{{ issue.id }}">{{ issue.id }}</a><template if="{{ i
ssue.closed }}"> (Closed)</template>: {{ issue.subject }} |
| 32 </h1> | 32 </h1> |
| 33 | 33 |
| 34 <div class="issue-body"> | 34 <div class="issue-body"> |
| 35 <cr-issue-meta issue="{{ issue }}"></cr-issue-meta> | 35 <cr-issue-meta issue="{{ issue }}"></cr-issue-meta> |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 self.fire("issue-refresh"); | 222 self.fire("issue-refresh"); |
| 223 }).catch(function(e) { | 223 }).catch(function(e) { |
| 224 self.butterbarMessage = ""; | 224 self.butterbarMessage = ""; |
| 225 console.log(e); | 225 console.log(e); |
| 226 // TODO(esprehn): We should show an error message. | 226 // TODO(esprehn): We should show an error message. |
| 227 }); | 227 }); |
| 228 }, | 228 }, |
| 229 }); | 229 }); |
| 230 </script> | 230 </script> |
| 231 </polymer-element> | 231 </polymer-element> |
| OLD | NEW |