Skip to content

Commit

Permalink
Work around Polymer/polymer#615
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Seidel committed Jul 9, 2014
1 parent 1effa8e commit 6919a9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nannybot/nannybot.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
<polymer-element name="nb-alert-list" attributes='failures'>
<template>
<sortable-table id='table' data='{{failures}}' rowTemplate="rowTemplate" style='width: 100%'>
<template id="rowTemplate" bind="{{ (record.row.master_url + '/builders/' + record.row.builder_name) as builder_url}}">
<template id="rowTemplate">
<!-- Can't have bind on a referenced template, so we nest them. -->
<template bind="{{ (record.row.master_url + '/builders/' + record.row.builder_name) as builder_url}}">
<style>
.fail_link { background-color: #FCC;}
.pass_link { background-color: #CFC;}
Expand All @@ -89,6 +91,7 @@
<td>{{ record.row.last_result_time | since_string }}</td>
<td>{{ record.row.would_close_tree }}</td>
</template>
</template>
</sortable-table>
</template>
<script>
Expand Down

0 comments on commit 6919a9d

Please sign in to comment.