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