SYNTAX: Add classes in prep for Topic list refactor (#69)

* DEV: Prep for topic-list refactor
This commit is contained in:
Jordan Vidrine 2021-11-16 13:56:12 -06:00 committed by GitHub
parent 4631ccb8b1
commit 0aef9946b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{{#load-more selector=".topic-list tr" action=loadMore}}
<table class="topic-list">
<thead>
<th role="button" {{action "sortListTitle"}}>
<thead class="topic-list-header">
<th role="button" class="topic-list-data" {{action "sortListTitle"}}>
{{i18n "docs.column_titles.topic"}}
{{#if sortTitle}}
@ -13,7 +13,7 @@
{{/if}}
</th>
<th role="button" {{action "sortListActivity"}}>
<th role="button" class="topic-list-data" {{action "sortListActivity"}}>
{{i18n "docs.column_titles.activity"}}
{{#if sortActivity}}
@ -26,7 +26,7 @@
</th>
</thead>
<tbody>
<tbody class="topic-list-body">
{{#each topics as |topic|}}
{{raw "docs-topic-list-item" topic=topic}}
{{/each}}

View File

@ -1,5 +1,5 @@
<tr>
<td class="main-link">
<tr class="topic-list-item">
<td class="main-link topic-list-data">
<span class="link-top-line">
{{~raw "topic-status" topic=topic}}
{{~raw "docs-topic-link" topic=topic}}
@ -9,7 +9,7 @@
{{discourse-tags topic mode="list"}}
</span>
</td>
<td>
<td class="topic-list-data">
{{format-date topic.bumped_at format="tiny" noTitle="true"}}
</td>
</tr>