REFACOR: Closing Tag Changes

- a,td, and if closing tag locations for ShowLikes / ShowOpLikes
This commit is contained in:
Jordan Vidrine 2020-02-07 10:54:45 -06:00
parent 99fd65328c
commit e3c3c88ab5
1 changed files with 8 additions and 6 deletions

View File

@ -51,18 +51,20 @@
<td class="num likes"> <td class="num likes">
{{#if hasLikes}} {{#if hasLikes}}
<a href='{{topic.summaryUrl}}'> <a href='{{topic.summaryUrl}}'>
{{number topic.like_count}} {{d-icon "heart"}}</td> {{number topic.like_count}} {{d-icon "heart"}}
</a> </a>
{{/if}} {{/if}}
</td>
{{/if}} {{/if}}
{{#if showOpLikes}} {{#if showOpLikes}}
<td class="num likes"> <td class="num likes">
{{#if hasOpLikes}} {{#if hasOpLikes}}
<a href='{{topic.summaryUrl}}'> <a href='{{topic.summaryUrl}}'>
{{number topic.op_like_count}} {{d-icon "heart"}}</td> {{number topic.op_like_count}} {{d-icon "heart"}}
</a> </a>
{{/if}} {{/if}}
</td>
{{/if}} {{/if}}
<td class="num views {{topic.viewsHeat}}">{{number topic.views numberKey="views_long"}}</td> <td class="num views {{topic.viewsHeat}}">{{number topic.views numberKey="views_long"}}</td>