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">
{{#if hasLikes}}
<a href='{{topic.summaryUrl}}'>
{{number topic.like_count}} {{d-icon "heart"}}</td>
</a>
{{/if}}
{{number topic.like_count}} {{d-icon "heart"}}
</a>
{{/if}}
</td>
{{/if}}
{{#if showOpLikes}}
<td class="num likes">
{{#if hasOpLikes}}
<a href='{{topic.summaryUrl}}'>
{{number topic.op_like_count}} {{d-icon "heart"}}</td>
</a>
{{/if}}
{{number topic.op_like_count}} {{d-icon "heart"}}
</a>
{{/if}}
</td>
{{/if}}
<td class="num views {{topic.viewsHeat}}">{{number topic.views numberKey="views_long"}}</td>