REGRESSION(r180333): Analysis tasks can't be associated with bugs
[WebKit-https.git] / Websites / perf.webkit.org / public / v2 / index.html
index f330d1e..eb32ae2 100755 (executable)
                                 selection=overviewSelection}}
                         {{/if}}
                         </div>
-                        {{partial "chart-details"}}
+                        <div class="details-table-container">
+                            {{partial "chart-details"}}
+                        </div>
                     </div>
                 </div>
 
 
     <script type="text/x-handlebars" data-template-name="chart-details">
     {{#if details}}
-    <div class="details-table-container">
         <table class="details-table">
             <tbody class="bugs">
             {{#each details.bugTrackers}}
                 {{commits-viewer repository=repository revisionInfo=this caption=name}}
             {{/each}}
         </div>
-    </div>
     {{/if}}
     </script>
 
                         rangeRoute="analysisTask"}}
                 </div>
                 <div class="details">
-                    {{partial "chart-details"}}
+                    <div class="details-table-container">
+                        <table class="analysis-bugs">
+                            <tbody>
+                                {{#each bugTrackers}}
+                                    <tr>
+                                        <th>{{label}}</th>
+                                        <td>
+                                            <form {{action "associateBug" this editedBugNumber on="submit"}}>
+                                                {{input type=text value=editedBugNumber}}
+                                            </form>
+                                        </td>
+                                    </tr>
+                                {{/each}}
+                            </tbody>
+                        </table>
+                        {{partial "chart-details"}}
+                    </div>
                 </div>
             </section>
         {{/if}}