Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Side by Side Diff: appengine/chromium_rietveld/new_static/components/cr-patchset-header.html

Issue 1152723005: Expand patchset if patchsetID provided in URL (Closed) Base URL: https://chromium.googlesource.com/infra/infra@master
Patch Set: Address comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/chromium_rietveld/new_static/components/cr-issue-patchsets.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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="../common/cr-action.html"> 5 <link rel="import" href="../common/cr-action.html">
6 <link rel="import" href="../common/cr-date.html"> 6 <link rel="import" href="../common/cr-date.html">
7 <link rel="import" href="cr-patchset-edit-dialog.html"> 7 <link rel="import" href="cr-patchset-edit-dialog.html">
8 8
9 <polymer-element name="cr-patchset-header" attributes="patchset"> 9 <polymer-element name="cr-patchset-header" attributes="patchset">
10 <template> 10 <template>
(...skipping 15 matching lines...) Expand all
26 flex: 1; 26 flex: 1;
27 -webkit-flex: 1; 27 -webkit-flex: 1;
28 } 28 }
29 29
30 .patchset-actions, 30 .patchset-actions,
31 .patchset-comments, 31 .patchset-comments,
32 .patchset-date { 32 .patchset-date {
33 margin-left: 8px; 33 margin-left: 8px;
34 } 34 }
35 </style> 35 </style>
36 <div class="patchset-title"> 36 <div class="patchset-title" title="{{ patchset.id }}">
37 Patch {{ patchset.sequence }}<template if="{{ patchset.title }}">: { { patchset.title }}</template> 37 Patch {{ patchset.sequence }}<template if="{{ patchset.title }}">: { { patchset.title }}</template>
38 </div> 38 </div>
39 <div class="patchset-comments"> 39 <div class="patchset-comments">
40 {{ patchset.messageCount - patchset.draftCount | pluralize("comment" ) }} 40 {{ patchset.messageCount - patchset.draftCount | pluralize("comment" ) }}
41 <template if="{{ patchset.draftCount }}"> 41 <template if="{{ patchset.draftCount }}">
42 <template if="{{ patchset.messageCount - patchset.draftCount }}" >,</template> 42 <template if="{{ patchset.messageCount - patchset.draftCount }}" >,</template>
43 {{ patchset.draftCount | pluralize("draft") }} 43 {{ patchset.draftCount | pluralize("draft") }}
44 </template> 44 </template>
45 </div> 45 </div>
46 <div class="patchset-date"><cr-date date="{{ patchset.created }}" relati ve></cr-date></div> 46 <div class="patchset-date"><cr-date date="{{ patchset.created }}" relati ve></cr-date></div>
(...skipping 27 matching lines...) Expand all
74 dialog.patchset = this.patchset; 74 dialog.patchset = this.patchset;
75 dialog.addEventListener("close", function() { 75 dialog.addEventListener("close", function() {
76 dialog.remove(); 76 dialog.remove();
77 }); 77 });
78 this.$.dialogs.appendChild(dialog); 78 this.$.dialogs.appendChild(dialog);
79 dialog.showModal(); 79 dialog.showModal();
80 }, 80 },
81 }); 81 });
82 </script> 82 </script>
83 </polymer-element> 83 </polymer-element>
OLDNEW
« no previous file with comments | « appengine/chromium_rietveld/new_static/components/cr-issue-patchsets.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698