FIX: Malformed HTML in templates

This commit is contained in:
Robin Ward 2014-04-15 12:05:09 -04:00
parent fc65bc28be
commit c820747ea3
2 changed files with 8 additions and 1 deletions

View File

@ -82,22 +82,26 @@
</td> </td>
<td class='stats' {{bind-attr title="topicStatsTitle"}}> <td class='stats' {{bind-attr title="topicStatsTitle"}}>
<table class="categoryStats"> <table class="categoryStats">
<tbody>
{{#each topicCountStats}} {{#each topicCountStats}}
<tr> <tr>
<td class="value">{{value}}</td> <td class="value">{{value}}</td>
<td class="unit">{{unit}}</td> <td class="unit">{{unit}}</td>
</tr> </tr>
{{/each}} {{/each}}
</tbody>
</table> </table>
</td> </td>
<td class='stats' {{bind-attr title="postStatsTitle"}}> <td class='stats' {{bind-attr title="postStatsTitle"}}>
<table class="categoryStats"> <table class="categoryStats">
<tbody>
{{#each postCountStats}} {{#each postCountStats}}
<tr> <tr>
<td class="value">{{value}}</td> <td class="value">{{value}}</td>
<td class="unit">{{unit}}</td> <td class="unit">{{unit}}</td>
</tr> </tr>
{{/each}} {{/each}}
</tbody>
</table> </table>
</td> </td>
</tr> </tr>

View File

@ -55,7 +55,10 @@
</tbody> </tbody>
{{/if}} {{/if}}
{{each topics itemController="topicListItem" itemViewClass="Discourse.TopicListItemView"}} <tbody>
{{each topics itemController="topicListItem" itemViewClass="Discourse.TopicListItemView"}}
</tbody>
</table> </table>
{{/if}} {{/if}}
</div> </div>