DEV: Fix tags/show template lint errors (#12982)

Uncovered in #12981
This commit is contained in:
Jarek Radosz 2021-05-07 16:53:42 +02:00 committed by GitHub
parent b7d6cc5b1c
commit efe055c273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 21 deletions

View File

@ -2,10 +2,10 @@
<div class="container">
{{discourse-banner user=currentUser banner=site.banner}}
</div>
<div class="list-controls">
<div class="container">
<section class="navigation-container tag-navigation">
{{d-navigation
filterMode=filterMode
canCreateTopic=canCreateTopic
@ -20,13 +20,13 @@
canCreateTopicOnTag=canCreateTopicOnTag
changeTagNotificationLevel=(action "changeTagNotificationLevel")
toggleInfo=(action "toggleInfo")
}}
}}
{{plugin-outlet
name="tag-navigation"
args=(hash category=category tag=tag)
tagName=""
}}
{{plugin-outlet
name="tag-navigation"
args=(hash category=category tag=tag)
tagName=""
}}
</section>
</div>
</div>
@ -45,17 +45,19 @@
id="dismiss-topics"
action=(action "dismissReadPosts")
title="topics.bulk.dismiss_tooltip"
label="topics.bulk.dismiss_button"}}
{{/if}}
label="topics.bulk.dismiss_button"
}}
{{/if}}
{{#if showResetNew}}
{{d-button
class="btn-default dismiss-read"
action=(action "resetNew")
id="dismiss-new"
icon="check"
label="topics.bulk.dismiss_new"}}
{{/if}}
{{#if showResetNew}}
{{d-button
class="btn-default dismiss-read"
action=(action "resetNew")
id="dismiss-new"
icon="check"
label="topics.bulk.dismiss_new"
}}
{{/if}}
</div>
{{/if}}
@ -71,8 +73,14 @@
autoAddTopicsToBulkSelect=autoAddTopicsToBulkSelect
bulkSelectEnabled=bulkSelectEnabled
addTopicsToBulkSelect=(action "addTopicsToBulkSelect")
as |discoveryTopicList|}}
{{bulk-select-button selected=selected action=(action "refresh") category=category}}
as |discoveryTopicList|
}}
{{bulk-select-button
selected=selected
action=(action "refresh")
category=category
}}
{{topic-list
topics=list.topics
canBulkSelect=canBulkSelect
@ -89,6 +97,7 @@
}}
{{/discovery-topics-list}}
{{/if}}
<footer class="topic-list-bottom">
{{#if showDismissRead}}
{{d-button
@ -96,7 +105,8 @@
id="dismiss-topics"
action=(action "dismissReadPosts")
title="topics.bulk.dismiss_tooltip"
label="topics.bulk.dismiss_button"}}
label="topics.bulk.dismiss_button"
}}
{{/if}}
{{#if showResetNew}}
@ -105,7 +115,8 @@
action=(action "resetNew")
id="dismiss-new"
icon="check"
label="topics.bulk.dismiss_new"}}
label="topics.bulk.dismiss_new"
}}
{{/if}}
{{#footer-message education=footerEducation message=footerMessage}}
@ -119,5 +130,6 @@
</div>
</div>
</div>
{{plugin-outlet name="discovery-below"}}
{{/d-section}}