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 class='stats' {{bind-attr title="topicStatsTitle"}}>
<table class="categoryStats">
<tbody>
{{#each topicCountStats}}
<tr>
<td class="value">{{value}}</td>
<td class="unit">{{unit}}</td>
</tr>
{{/each}}
</tbody>
</table>
</td>
<td class='stats' {{bind-attr title="postStatsTitle"}}>
<table class="categoryStats">
<tbody>
{{#each postCountStats}}
<tr>
<td class="value">{{value}}</td>
<td class="unit">{{unit}}</td>
</tr>
{{/each}}
</tbody>
</table>
</td>
</tr>

View File

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