DEV: Rename all uses of PluginOutlet `@args` in core

The `args` argument is now deprecated. This commit uses a codemod (https://github.com/discourse/discourse-ember-codemods/tree/main/transforms/rename-plugin-outlet-args) to automatically rename all uses to `@outletArgs`.
This commit is contained in:
David Taylor 2023-01-31 12:58:31 +00:00
parent 84f6a8399d
commit 9e440dca33
86 changed files with 193 additions and 178 deletions

View File

@ -3,7 +3,7 @@
<PluginOutlet <PluginOutlet
@name="admin-customize-themes-list-item" @name="admin-customize-themes-list-item"
@connectorTagName="span" @connectorTagName="span"
@args={{hash theme=this.theme}} @outletArgs={{hash theme=this.theme}}
/> />
</span> </span>

View File

@ -3,7 +3,7 @@
<PluginOutlet <PluginOutlet
@name="admin-customize-themes-show-top" @name="admin-customize-themes-show-top"
@connectorTagName="div" @connectorTagName="div"
@args={{hash theme=this.model}} @outletArgs={{hash theme=this.model}}
/> />
</span> </span>
<div class="title"> <div class="title">

View File

@ -54,7 +54,7 @@
<PluginOutlet <PluginOutlet
@name="admin-dashboard-moderation-bottom" @name="admin-dashboard-moderation-bottom"
@connectorTagName="div" @connectorTagName="div"
@args={{hash filters=this.lastWeekfilters}} @outletArgs={{hash filters=this.lastWeekfilters}}
/> />
</span> </span>
</div> </div>

View File

@ -85,6 +85,6 @@
<PluginOutlet <PluginOutlet
@name="admin-below-plugins-index" @name="admin-below-plugins-index"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -28,7 +28,7 @@
{{/if}} {{/if}}
<PluginOutlet <PluginOutlet
@name="admin-user-controls-after" @name="admin-user-controls-after"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</div> </div>
@ -50,7 +50,10 @@
/> />
</div> </div>
<PluginOutlet @name="admin-user-below-names" @args={{hash user=this.model}} /> <PluginOutlet
@name="admin-user-below-names"
@outletArgs={{hash user=this.model}}
/>
{{#if this.canCheckEmails}} {{#if this.canCheckEmails}}
<div class="display-row email"> <div class="display-row email">
@ -263,7 +266,7 @@
<PluginOutlet <PluginOutlet
@name="admin-user-details" @name="admin-user-details"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -862,7 +865,7 @@
<PluginOutlet <PluginOutlet
@name="after-user-details" @name="after-user-details"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -93,7 +93,7 @@
/> />
<PluginOutlet <PluginOutlet
@name="admin-users-list-thead-after" @name="admin-users-list-thead-after"
@args={{hash order=this.order asc=this.asc}} @outletArgs={{hash order=this.order asc=this.asc}}
/> />
{{#if this.siteSettings.must_approve_users}} {{#if this.siteSettings.must_approve_users}}
@ -161,7 +161,7 @@
<PluginOutlet <PluginOutlet
@name="admin-users-list-td-after" @name="admin-users-list-td-after"
@args={{hash user=user query=this.query}} @outletArgs={{hash user=user query=this.query}}
/> />
{{#if this.siteSettings.must_approve_users}} {{#if this.siteSettings.must_approve_users}}
@ -181,7 +181,7 @@
<PluginOutlet <PluginOutlet
@name="admin-users-list-icon" @name="admin-users-list-icon"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=user query=this.query}} @outletArgs={{hash user=user query=this.query}}
/> />
</td> </td>
</tr> </tr>

View File

@ -119,7 +119,7 @@
<PluginOutlet <PluginOutlet
@name="web-hook-fields" @name="web-hook-fields"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -38,7 +38,7 @@
<div class="timeline-controls"> <div class="timeline-controls">
<PluginOutlet <PluginOutlet
@name="timeline-controls-before" @name="timeline-controls-before"
@args={{hash model=@model}} @outletArgs={{hash model=@model}}
/> />
<TopicAdminMenuButton <TopicAdminMenuButton
@topic={{@model}} @topic={{@model}}
@ -178,7 +178,7 @@
{{/if}} {{/if}}
<PluginOutlet <PluginOutlet
@name="timeline-footer-controls-after" @name="timeline-footer-controls-after"
@args={{hash model=@model}} @outletArgs={{hash model=@model}}
/> />
</div> </div>
{{/if}} {{/if}}

View File

@ -63,7 +63,7 @@
<PluginOutlet <PluginOutlet
@name="user-main-nav" @name="user-main-nav"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=@user}} @outletArgs={{hash model=@user}}
/> />
{{#if @user.can_edit}} {{#if @user.can_edit}}

View File

@ -80,5 +80,5 @@
<PluginOutlet <PluginOutlet
@name="user-activity-bottom" @name="user-activity-bottom"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=@model}} @outletArgs={{hash model=@model}}
/> />

View File

@ -48,5 +48,5 @@
<PluginOutlet <PluginOutlet
@name="user-notifications-bottom" @name="user-notifications-bottom"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=@model}} @outletArgs={{hash model=@model}}
/> />

View File

@ -86,10 +86,10 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-nav-under-interface" @name="user-preferences-nav-under-interface"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=@model}} @outletArgs={{hash model=@model}}
/> />
<PluginOutlet <PluginOutlet
@name="user-preferences-nav" @name="user-preferences-nav"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=@model}} @outletArgs={{hash model=@model}}
/> />

View File

@ -95,7 +95,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-categories" @name="user-preferences-categories"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=@model save=@save}} @outletArgs={{hash model=@model save=@save}}
/> />
</span> </span>
@ -105,6 +105,6 @@
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=@model}} @outletArgs={{hash model=@model}}
/> />
</span> </span>

View File

@ -65,11 +65,11 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-tags" @name="user-preferences-tags"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=@model save=@save}} @outletArgs={{hash model=@model save=@save}}
/> />
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=@model}} @outletArgs={{hash model=@model}}
/> />
{{/if}} {{/if}}

View File

@ -34,7 +34,7 @@
<PluginOutlet <PluginOutlet
@name="about-after-description" @name="about-after-description"
@connectorTagName="section" @connectorTagName="section"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
{{#if this.model.admins}} {{#if this.model.admins}}
@ -50,7 +50,7 @@
<PluginOutlet <PluginOutlet
@name="about-after-admins" @name="about-after-admins"
@connectorTagName="section" @connectorTagName="section"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -69,7 +69,7 @@
<PluginOutlet <PluginOutlet
@name="about-after-moderators" @name="about-after-moderators"
@connectorTagName="section" @connectorTagName="section"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -4,7 +4,7 @@
<PluginOutlet <PluginOutlet
@name="above-site-header" @name="above-site-header"
@connectorTagName="div" @connectorTagName="div"
@args={{hash currentPath=this.router._router.currentPath}} @outletArgs={{hash currentPath=this.router._router.currentPath}}
/> />
{{#if this.showSiteHeader}} {{#if this.showSiteHeader}}
@ -27,7 +27,7 @@
<PluginOutlet <PluginOutlet
@name="below-site-header" @name="below-site-header"
@connectorTagName="div" @connectorTagName="div"
@args={{hash currentPath=this.router._router.currentPath}} @outletArgs={{hash currentPath=this.router._router.currentPath}}
/> />
<div id="main-outlet-wrapper" class="wrap" role="main"> <div id="main-outlet-wrapper" class="wrap" role="main">
@ -55,7 +55,7 @@
<PluginOutlet <PluginOutlet
@name="top-notices" @name="top-notices"
@connectorTagName="div" @connectorTagName="div"
@args={{hash currentPath=this.router._router.currentPath}} @outletArgs={{hash currentPath=this.router._router.currentPath}}
/> />
</div> </div>
@ -67,7 +67,7 @@
<PluginOutlet <PluginOutlet
@name="above-footer" @name="above-footer"
@connectorTagName="div" @connectorTagName="div"
@args={{hash showFooter=this.showFooter}} @outletArgs={{hash showFooter=this.showFooter}}
/> />
{{#if this.showFooter}} {{#if this.showFooter}}
<CustomHtml <CustomHtml
@ -79,7 +79,7 @@
<PluginOutlet <PluginOutlet
@name="below-footer" @name="below-footer"
@connectorTagName="div" @connectorTagName="div"
@args={{hash showFooter=this.showFooter}} @outletArgs={{hash showFooter=this.showFooter}}
/> />
{{outlet "modal"}} {{outlet "modal"}}

View File

@ -42,7 +42,7 @@
<PluginOutlet <PluginOutlet
@name="bread-crumbs-right" @name="bread-crumbs-right"
@connectorTagName="li" @connectorTagName="li"
@args={{hash @outletArgs={{hash
tagId=this.tag.id tagId=this.tag.id
additionalTags=this.additionalTags additionalTags=this.additionalTags
noSubcategories=this.noSubcategories noSubcategories=this.noSubcategories

View File

@ -44,7 +44,7 @@
<PluginOutlet <PluginOutlet
@name="category-box-below-each-category" @name="category-box-below-each-category"
@args={{hash category=c}} @outletArgs={{hash category=c}}
/> />
</div> </div>
</div> </div>

View File

@ -1,7 +1,7 @@
{{#each this.categories as |c|}} {{#each this.categories as |c|}}
<PluginOutlet <PluginOutlet
@name="category-box-before-each-box" @name="category-box-before-each-box"
@args={{hash category=c}} @outletArgs={{hash category=c}}
/> />
<div <div
@ -91,15 +91,18 @@
<PluginOutlet <PluginOutlet
@name="category-box-below-each-category" @name="category-box-below-each-category"
@args={{hash category=c}} @outletArgs={{hash category=c}}
/> />
</div> </div>
</div> </div>
<PluginOutlet @name="category-box-after-each-box" @args={{hash category=c}} /> <PluginOutlet
@name="category-box-after-each-box"
@outletArgs={{hash category=c}}
/>
{{/each}} {{/each}}
<PluginOutlet <PluginOutlet
@name="category-boxes-after-boxes" @name="category-boxes-after-boxes"
@args={{hash category=this.c}} @outletArgs={{hash category=this.c}}
/> />

View File

@ -68,5 +68,5 @@
<PluginOutlet <PluginOutlet
@name="below-categories-only" @name="below-categories-only"
@connectorTagName="div" @connectorTagName="div"
@args={{hash categories=this.categories showTopics=this.showTopics}} @outletArgs={{hash categories=this.categories showTopics=this.showTopics}}
/> />

View File

@ -1,4 +1,4 @@
<PluginOutlet <PluginOutlet
@name="category-title-before" @name="category-title-before"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />

View File

@ -55,7 +55,7 @@
<PluginOutlet <PluginOutlet
@name="after-d-editor" @name="after-d-editor"
@connectorTagName="div" @connectorTagName="div"
@args={{this.outletArgs}} @outletArgs={{this.outletArgs}}
/> />
</div> </div>
</div> </div>
@ -72,7 +72,7 @@
<PluginOutlet <PluginOutlet
@name="editor-preview" @name="editor-preview"
@connectorTagName="div" @connectorTagName="div"
@args={{this.outletArgs}} @outletArgs={{this.outletArgs}}
/> />
</span> </span>
</div> </div>

View File

@ -51,7 +51,7 @@
<PluginOutlet <PluginOutlet
@name="before-create-topic-button" @name="before-create-topic-button"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
canCreateTopic=this.canCreateTopic canCreateTopic=this.canCreateTopic
createTopicDisabled=this.createTopicDisabled createTopicDisabled=this.createTopicDisabled
createTopicLabel=this.createTopicLabel createTopicLabel=this.createTopicLabel
@ -73,7 +73,7 @@
<PluginOutlet <PluginOutlet
@name="after-create-topic-button" @name="after-create-topic-button"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
canCreateTopic=this.canCreateTopic canCreateTopic=this.canCreateTopic
createTopicDisabled=this.createTopicDisabled createTopicDisabled=this.createTopicDisabled
createTopicLabel=this.createTopicLabel createTopicLabel=this.createTopicLabel

View File

@ -58,6 +58,6 @@
<section> <section>
<PluginOutlet <PluginOutlet
@name="category-custom-security" @name="category-custom-security"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</section> </section>

View File

@ -346,7 +346,7 @@
<PluginOutlet <PluginOutlet
@name="category-email-in" @name="category-email-in"
@connectorTagName="div" @connectorTagName="div"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</span> </span>
{{/if}} {{/if}}
@ -364,6 +364,6 @@
<section> <section>
<PluginOutlet <PluginOutlet
@name="category-custom-settings" @name="category-custom-settings"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</section> </section>

View File

@ -30,7 +30,7 @@
{{/each}} {{/each}}
<PluginOutlet <PluginOutlet
@name="group-reports-nav-item" @name="group-reports-nav-item"
@args={{hash group=this.group}} @outletArgs={{hash group=this.group}}
@connectorTagName="li" @connectorTagName="li"
/> />
</MobileNav> </MobileNav>

View File

@ -29,7 +29,7 @@
>{{this.post.user.title}}</span>{{/if}} >{{this.post.user.title}}</span>{{/if}}
<PluginOutlet <PluginOutlet
@name="group-post-additional-member-info" @name="group-post-additional-member-info"
@args={{hash user=this.post.user}} @outletArgs={{hash user=this.post.user}}
/> />
</div> </div>
{{/if}} {{/if}}

View File

@ -109,7 +109,7 @@
<PluginOutlet <PluginOutlet
@name="group-email-in" @name="group-email-in"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</div> </div>
@ -134,6 +134,6 @@
<PluginOutlet <PluginOutlet
@name="groups-interaction-custom-options" @name="groups-interaction-custom-options"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -98,7 +98,7 @@
<PluginOutlet <PluginOutlet
@name="groups-form-membership-below-automatic" @name="groups-form-membership-below-automatic"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -48,7 +48,7 @@
<PluginOutlet <PluginOutlet
@name="group-edit" @name="group-edit"
@connectorTagName="div" @connectorTagName="div"
@args={{hash group=this.model}} @outletArgs={{hash group=this.model}}
/> />
</span> </span>
{{/if}} {{/if}}

View File

@ -9,5 +9,5 @@
<PluginOutlet <PluginOutlet
@name="extra-nav-item" @name="extra-nav-item"
@connectorTagName="li" @connectorTagName="li"
@args={{hash category=this.category filterMode=this.filterMode}} @outletArgs={{hash category=this.category filterMode=this.filterMode}}
/> />

View File

@ -1,7 +1,7 @@
{{#unless this.isHidden}} {{#unless this.isHidden}}
<PluginOutlet <PluginOutlet
@name="category-list-above-each-category" @name="category-list-above-each-category"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
<tr <tr
@ -32,7 +32,7 @@
<PluginOutlet <PluginOutlet
@name="below-category-title-link" @name="below-category-title-link"
@connectorTagName="div" @connectorTagName="div"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
{{#if this.category.description_excerpt}} {{#if this.category.description_excerpt}}

View File

@ -12,6 +12,6 @@
<PluginOutlet <PluginOutlet
@name="after-reviewable-post-user" @name="after-reviewable-post-user"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
</div> </div>

View File

@ -25,7 +25,7 @@
<PluginOutlet <PluginOutlet
@name="after-reviewable-flagged-post-body" @name="after-reviewable-flagged-post-body"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.reviewable}} @outletArgs={{hash model=this.reviewable}}
/> />
</span> </span>
{{yield}} {{yield}}

View File

@ -6,7 +6,7 @@
<PluginOutlet <PluginOutlet
@name="advanced-search-options-above" @name="advanced-search-options-above"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
searchedTerms=this.searchedTerms searchedTerms=this.searchedTerms
onChangeSearchedTermField=this.onChangeSearchedTermField onChangeSearchedTermField=this.onChangeSearchedTermField
}} }}
@ -222,7 +222,7 @@
<PluginOutlet <PluginOutlet
@name="advanced-search-options-below" @name="advanced-search-options-below"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
searchedTerms=this.searchedTerms searchedTerms=this.searchedTerms
onChangeSearchedTermField=this.onChangeSearchedTermField onChangeSearchedTermField=this.onChangeSearchedTermField
}} }}

View File

@ -45,7 +45,7 @@
<PluginOutlet <PluginOutlet
@name="full-page-search-category" @name="full-page-search-category"
@connectorTagName="div" @connectorTagName="div"
@args={{hash post=this.post}} @outletArgs={{hash post=this.post}}
/> />
</span> </span>
</div> </div>

View File

@ -31,6 +31,6 @@
<PluginOutlet <PluginOutlet
@name="below-suggested-topics" @name="below-suggested-topics"
@connectorTagName="div" @connectorTagName="div"
@args={{hash topic=this.topic}} @outletArgs={{hash topic=this.topic}}
/> />
</span> </span>

View File

@ -134,7 +134,7 @@
<section> <section>
<PluginOutlet <PluginOutlet
@name="tag-custom-settings" @name="tag-custom-settings"
@args={{hash tag=this.tagInfo}} @outletArgs={{hash tag=this.tagInfo}}
/> />
</section> </section>
<div class="tag-actions"> <div class="tag-actions">

View File

@ -16,6 +16,6 @@
<PluginOutlet <PluginOutlet
@name="topic-category" @name="topic-category"
@connectorTagName="div" @connectorTagName="div"
@args={{hash topic=this.topic category=this.topic.category}} @outletArgs={{hash topic=this.topic category=this.topic.category}}
/> />
</span> </span>

View File

@ -58,7 +58,7 @@
<PluginOutlet <PluginOutlet
@name="topic-footer-main-buttons-before-create" @name="topic-footer-main-buttons-before-create"
@args={{hash topic=this.topic}} @outletArgs={{hash topic=this.topic}}
@connectorTagName="span" @connectorTagName="span"
/> />
@ -74,7 +74,7 @@
<PluginOutlet <PluginOutlet
@name="after-topic-footer-main-buttons" @name="after-topic-footer-main-buttons"
@args={{hash topic=this.topic}} @outletArgs={{hash topic=this.topic}}
@connectorTagName="span" @connectorTagName="span"
/> />
</div> </div>
@ -97,6 +97,6 @@
<PluginOutlet <PluginOutlet
@name="after-topic-footer-buttons" @name="after-topic-footer-buttons"
@args={{hash topic=this.topic}} @outletArgs={{hash topic=this.topic}}
@connectorTagName="span" @connectorTagName="span"
/> />

View File

@ -18,7 +18,7 @@
<PluginOutlet <PluginOutlet
@name="before-topic-list-body" @name="before-topic-list-body"
@args={{hash @outletArgs={{hash
topics=this.topics topics=this.topics
selected=this.selected selected=this.selected
bulkSelectEnabled=this.bulkSelectEnabled bulkSelectEnabled=this.bulkSelectEnabled
@ -54,7 +54,7 @@
}} }}
<PluginOutlet <PluginOutlet
@name="after-topic-list-item" @name="after-topic-list-item"
@args={{hash topic=topic index=index}} @outletArgs={{hash topic=topic index=index}}
@connectorTagName="tr" @connectorTagName="tr"
/> />
{{/each}} {{/each}}
@ -62,7 +62,7 @@
<PluginOutlet <PluginOutlet
@name="after-topic-list-body" @name="after-topic-list-body"
@args={{hash @outletArgs={{hash
topics=this.topics topics=this.topics
selected=this.selected selected=this.selected
bulkSelectEnabled=this.bulkSelectEnabled bulkSelectEnabled=this.bulkSelectEnabled

View File

@ -65,5 +65,5 @@
<PluginOutlet <PluginOutlet
@name="after-topic-status" @name="after-topic-status"
@connectorTagName="div" @connectorTagName="div"
@args={{hash topic=this.topic}} @outletArgs={{hash topic=this.topic}}
/> />

View File

@ -6,7 +6,7 @@
<PluginOutlet <PluginOutlet
@name="topic-title" @name="topic-title"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</div> </div>

View File

@ -1,7 +1,7 @@
{{#if this.visible}} {{#if this.visible}}
<PluginOutlet <PluginOutlet
@name="before-user-card-content" @name="before-user-card-content"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
<div class="card-content"> <div class="card-content">
{{#if this.loading}} {{#if this.loading}}
@ -47,7 +47,7 @@
<PluginOutlet <PluginOutlet
@name="user-card-avatar-flair" @name="user-card-avatar-flair"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
</div> </div>
</div> </div>
@ -91,7 +91,7 @@
<PluginOutlet <PluginOutlet
@name="user-card-after-username" @name="user-card-after-username"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
user=this.user user=this.user
showUser=(fn this.handleShowUser this.user) showUser=(fn this.handleShowUser this.user)
}} }}
@ -122,7 +122,7 @@
<PluginOutlet <PluginOutlet
@name="user-card-post-names" @name="user-card-post-names"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
</div> </div>
</div> </div>
@ -140,7 +140,7 @@
<PluginOutlet <PluginOutlet
@name="user-card-below-message-button" @name="user-card-below-message-button"
@connectorTagName="li" @connectorTagName="li"
@args={{hash user=this.user close=(action "close")}} @outletArgs={{hash user=this.user close=(action "close")}}
/> />
{{#if this.showFilter}} {{#if this.showFilter}}
<li> <li>
@ -176,14 +176,14 @@
<PluginOutlet <PluginOutlet
@name="user-card-additional-buttons" @name="user-card-additional-buttons"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user close=(action "close")}} @outletArgs={{hash user=this.user close=(action "close")}}
/> />
</li> </li>
</ul> </ul>
<PluginOutlet <PluginOutlet
@name="user-card-additional-controls" @name="user-card-additional-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user close=(action "close")}} @outletArgs={{hash user=this.user close=(action "close")}}
/> />
</div> </div>
@ -284,7 +284,7 @@
<PluginOutlet <PluginOutlet
@name="user-card-location-and-website" @name="user-card-location-and-website"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
</span> </span>
</div> </div>
@ -331,14 +331,14 @@
<PluginOutlet <PluginOutlet
@name="user-card-metadata" @name="user-card-metadata"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
</div> </div>
{{/unless}} {{/unless}}
<PluginOutlet <PluginOutlet
@name="user-card-after-metadata" @name="user-card-after-metadata"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
</div> </div>
@ -369,7 +369,7 @@
<PluginOutlet <PluginOutlet
@name="user-card-before-badges" @name="user-card-before-badges"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
{{#if this.showBadges}} {{#if this.showBadges}}

View File

@ -41,7 +41,7 @@
<PluginOutlet <PluginOutlet
@name="after-user-name" @name="after-user-name"
@connectorTagName="span" @connectorTagName="span"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
</span> </span>
</div> </div>
@ -59,6 +59,6 @@
<PluginOutlet <PluginOutlet
@name="after-user-info" @name="after-user-info"
@connectorTagName="div" @connectorTagName="div"
@args={{hash user=this.user}} @outletArgs={{hash user=this.user}}
/> />
</span> </span>

View File

@ -5,7 +5,7 @@
<PluginOutlet <PluginOutlet
@name="user-profile-avatar-flair" @name="user-profile-avatar-flair"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=@user}} @outletArgs={{hash model=@user}}
/> />
</div> </div>
</div> </div>

View File

@ -47,7 +47,7 @@
<PluginOutlet <PluginOutlet
@name="user-stream-item-header" @name="user-stream-item-header"
@connectorTagName="div" @connectorTagName="div"
@args={{hash item=@item}} @outletArgs={{hash item=@item}}
/> />
</span> </span>
</div> </div>

View File

@ -31,7 +31,7 @@
<PluginOutlet <PluginOutlet
@name="composer-open" @name="composer-open"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -47,7 +47,7 @@
<PluginOutlet <PluginOutlet
@name="composer-action-after" @name="composer-action-after"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
{{#unless this.site.mobileView}} {{#unless this.site.mobileView}}
@ -81,7 +81,7 @@
<PluginOutlet <PluginOutlet
@name="before-composer-controls" @name="before-composer-controls"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
<ComposerToggles <ComposerToggles
@ -124,7 +124,7 @@
<div class="composer-fields"> <div class="composer-fields">
<PluginOutlet <PluginOutlet
@name="before-composer-fields" @name="before-composer-fields"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
{{#unless this.model.viewFullscreen}} {{#unless this.model.viewFullscreen}}
{{#if this.model.canEditTitle}} {{#if this.model.canEditTitle}}
@ -192,7 +192,7 @@
<PluginOutlet <PluginOutlet
@name="after-title-and-category" @name="after-title-and-category"
@args={{hash @outletArgs={{hash
model=this.model model=this.model
tagValidation=this.tagValidation tagValidation=this.tagValidation
canEditTags=this.canEditTags canEditTags=this.canEditTags
@ -206,7 +206,10 @@
<PluginOutlet <PluginOutlet
@name="composer-fields" @name="composer-fields"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model showPreview=this.showPreview}} @outletArgs={{hash
model=this.model
showPreview=this.showPreview
}}
/> />
</span> </span>
{{/unless}} {{/unless}}
@ -216,7 +219,7 @@
<span> <span>
<PluginOutlet <PluginOutlet
@name="composer-after-composer-editor" @name="composer-after-composer-editor"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -225,7 +228,7 @@
<PluginOutlet <PluginOutlet
@name="composer-fields-below" @name="composer-fields-below"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -311,7 +314,7 @@
<span> <span>
<PluginOutlet <PluginOutlet
@name="composer-after-save-or-cancel" @name="composer-after-save-or-cancel"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</div> </div>
@ -320,7 +323,7 @@
<span> <span>
<PluginOutlet <PluginOutlet
@name="composer-mobile-buttons-bottom" @name="composer-mobile-buttons-bottom"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -39,7 +39,7 @@
{{outlet "header-list-container"}} {{outlet "header-list-container"}}
<PluginOutlet <PluginOutlet
@name="header-list-container-bottom" @name="header-list-container-bottom"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</div> </div>
</div> </div>
@ -51,7 +51,7 @@
<PluginOutlet <PluginOutlet
@name="discovery-list-container-top" @name="discovery-list-container-top"
@connectorTagName="span" @connectorTagName="span"
@args={{hash category=this.category listLoading=this.loading}} @outletArgs={{hash category=this.category listLoading=this.loading}}
/> />
{{outlet "list-container"}} {{outlet "list-container"}}
</div> </div>

View File

@ -1,7 +1,7 @@
<PluginOutlet <PluginOutlet
@name="above-discovery-categories" @name="above-discovery-categories"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
categories=this.model.categories categories=this.model.categories
categoryPageStyle=this.categoryPageStyle categoryPageStyle=this.categoryPageStyle
topics=this.model.topics topics=this.model.topics
@ -45,7 +45,7 @@
<PluginOutlet <PluginOutlet
@name="below-discovery-categories" @name="below-discovery-categories"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
categories=this.model.categories categories=this.model.categories
categoryPageStyle=this.categoryPageStyle categoryPageStyle=this.categoryPageStyle
topics=this.model.topics topics=this.model.topics

View File

@ -63,7 +63,7 @@
<PluginOutlet <PluginOutlet
@name="before-topic-list" @name="before-topic-list"
@connectorTagName="div" @connectorTagName="div"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</span> </span>
@ -100,7 +100,7 @@
<PluginOutlet <PluginOutlet
@name="after-topic-list" @name="after-topic-list"
@connectorTagName="div" @connectorTagName="div"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</span> </span>
</DiscoveryTopicsList> </DiscoveryTopicsList>

View File

@ -141,7 +141,7 @@
<PluginOutlet <PluginOutlet
@name="full-page-search-below-search-info" @name="full-page-search-below-search-info"
@connectorTagName="div" @connectorTagName="div"
@args={{hash search=this.searchTerm}} @outletArgs={{hash search=this.searchTerm}}
/> />
</span> </span>

View File

@ -2,7 +2,7 @@
<PluginOutlet <PluginOutlet
@name="before-group-container" @name="before-group-container"
@connectorTagName="div" @connectorTagName="div"
@args={{hash group=this.model}} @outletArgs={{hash group=this.model}}
/> />
</span> </span>
@ -78,7 +78,7 @@
<PluginOutlet <PluginOutlet
@name="group-details-after" @name="group-details-after"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</div> </div>

View File

@ -3,7 +3,7 @@
<PluginOutlet <PluginOutlet
@name="before-manage-group-tags" @name="before-manage-group-tags"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
<div class="control-group"> <div class="control-group">

View File

@ -106,7 +106,7 @@
<PluginOutlet <PluginOutlet
@name="group-index-box-after" @name="group-index-box-after"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=group}} @outletArgs={{hash model=group}}
/> />
</span> </span>
</div> </div>

View File

@ -17,7 +17,7 @@
<PluginOutlet <PluginOutlet
@name="extra-nav-item" @name="extra-nav-item"
@connectorTagName="li" @connectorTagName="li"
@args={{hash category=this.category filterMode=this.filterMode}} @outletArgs={{hash category=this.category filterMode=this.filterMode}}
/> />
</ul> </ul>
{{/if}} {{/if}}

View File

@ -1,7 +1,7 @@
{{#unless this.isHidden}} {{#unless this.isHidden}}
<PluginOutlet <PluginOutlet
@name="category-list-above-each-category" @name="category-list-above-each-category"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
<div <div
data-category-id={{this.category.id}} data-category-id={{this.category.id}}

View File

@ -5,7 +5,7 @@
<PluginOutlet <PluginOutlet
@name="users-top" @name="users-top"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -48,7 +48,7 @@
</div> </div>
<PluginOutlet <PluginOutlet
@name="users-directory-controls" @name="users-directory-controls"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</div> </div>

View File

@ -116,7 +116,7 @@
<PluginOutlet <PluginOutlet
@name="create-account-before-password" @name="create-account-before-password"
@args={{hash @outletArgs={{hash
accountName=this.accountName accountName=this.accountName
accountUsername=this.accountUsername accountUsername=this.accountUsername
accountPassword=this.accountPassword accountPassword=this.accountPassword
@ -201,7 +201,7 @@
<PluginOutlet <PluginOutlet
@name="create-account-after-password" @name="create-account-after-password"
@args={{hash @outletArgs={{hash
accountName=this.accountName accountName=this.accountName
accountUsername=this.accountUsername accountUsername=this.accountUsername
accountPassword=this.accountPassword accountPassword=this.accountPassword

View File

@ -24,7 +24,7 @@
<PluginOutlet <PluginOutlet
@name="flag-modal-bottom" @name="flag-modal-bottom"
@connectorTagName="div" @connectorTagName="div"
@args={{hash post=this.model}} @outletArgs={{hash post=this.model}}
/> />
</DModalBody> </DModalBody>

View File

@ -8,7 +8,7 @@
</LinkTo> </LinkTo>
<PluginOutlet <PluginOutlet
@name="revision-user-details-after" @name="revision-user-details-after"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
<span class="date">{{bound-date this.model.created_at}}</span> <span class="date">{{bound-date this.model.created_at}}</span>
{{#if this.model.edit_reason}} {{#if this.model.edit_reason}}
@ -162,7 +162,7 @@
<PluginOutlet <PluginOutlet
@name="post-revisions" @name="post-revisions"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -12,7 +12,7 @@
<PluginOutlet <PluginOutlet
@name="category-heading" @name="category-heading"
@connectorTagName="div" @connectorTagName="div"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</span> </span>
</section> </section>
@ -32,6 +32,6 @@
<PluginOutlet <PluginOutlet
@name="category-navigation" @name="category-navigation"
@connectorTagName="div" @connectorTagName="div"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</DSection> </DSection>

View File

@ -83,7 +83,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-nav-under-interface" @name="user-preferences-nav-under-interface"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -99,7 +99,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-nav" @name="user-preferences-nav"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</MobileNav> </MobileNav>
@ -111,7 +111,7 @@
<PluginOutlet <PluginOutlet
@name="above-user-preferences" @name="above-user-preferences"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -267,7 +267,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-account" @name="user-preferences-account"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
@ -277,7 +277,7 @@
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -4,6 +4,6 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-apps" @name="user-preferences-apps"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -56,7 +56,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-emails-pref-email-settings" @name="user-preferences-emails-pref-email-settings"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
</div> </div>
@ -117,7 +117,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-emails" @name="user-preferences-emails"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
@ -127,7 +127,7 @@
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -2,7 +2,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-interface-top" @name="user-preferences-interface-top"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
@ -238,7 +238,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-interface" @name="user-preferences-interface"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
@ -248,7 +248,7 @@
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -36,7 +36,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-desktop-notifications" @name="user-preferences-desktop-notifications"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
</div> </div>
@ -54,7 +54,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-notifications" @name="user-preferences-notifications"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
@ -64,7 +64,7 @@
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -159,7 +159,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-profile" @name="user-preferences-profile"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
@ -167,7 +167,7 @@
<PluginOutlet <PluginOutlet
@name="user-custom-preferences" @name="user-custom-preferences"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -177,7 +177,7 @@
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -108,7 +108,7 @@
<PluginOutlet <PluginOutlet
@name="user-preferences-security" @name="user-preferences-security"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model save=(action "save")}} @outletArgs={{hash model=this.model save=(action "save")}}
/> />
</span> </span>
@ -118,6 +118,6 @@
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -60,7 +60,7 @@
<PluginOutlet <PluginOutlet
@name="user-custom-controls" @name="user-custom-controls"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>

View File

@ -32,7 +32,7 @@
<PluginOutlet <PluginOutlet
@name="above-review-filters" @name="above-review-filters"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
model=this.model model=this.model
additionalFilters=this.additionalFilters additionalFilters=this.additionalFilters
}} }}

View File

@ -48,7 +48,7 @@
<PluginOutlet <PluginOutlet
@name="tag-navigation" @name="tag-navigation"
@connectorTagName="div" @connectorTagName="div"
@args={{hash category=this.category tag=this.tag}} @outletArgs={{hash category=this.category tag=this.tag}}
/> />
</section> </section>
</div> </div>
@ -66,7 +66,7 @@
<PluginOutlet <PluginOutlet
@name="discovery-list-container-top" @name="discovery-list-container-top"
@connectorTagName="div" @connectorTagName="div"
@args={{hash category=this.category}} @outletArgs={{hash category=this.category}}
/> />
</span> </span>

View File

@ -15,7 +15,7 @@
<PluginOutlet <PluginOutlet
@name="tags-below-title" @name="tags-below-title"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</div> </div>

View File

@ -28,7 +28,10 @@
<PluginOutlet <PluginOutlet
@name="topic-above-post-stream" @name="topic-above-post-stream"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model editFirstPost=(action "editFirstPost")}} @outletArgs={{hash
model=this.model
editFirstPost=(action "editFirstPost")
}}
/> />
</span> </span>
@ -77,7 +80,7 @@
<PluginOutlet <PluginOutlet
@name="edit-topic" @name="edit-topic"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model buffered=this.buffered}} @outletArgs={{hash model=this.model buffered=this.buffered}}
/> />
</span> </span>
@ -150,7 +153,7 @@
<PluginOutlet <PluginOutlet
@name="topic-title-suffix" @name="topic-title-suffix"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</h1> </h1>
@ -217,7 +220,7 @@
<PluginOutlet <PluginOutlet
@name="topic-navigation" @name="topic-navigation"
@connectorTagName="div" @connectorTagName="div"
@args={{hash topic=this.model}} @outletArgs={{hash topic=this.model}}
/> />
{{#if info.renderTimeline}} {{#if info.renderTimeline}}
@ -296,7 +299,10 @@
<PluginOutlet <PluginOutlet
@name="before-topic-progress" @name="before-topic-progress"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model jumpToPost=(action "jumpToPost")}} @outletArgs={{hash
model=this.model
jumpToPost=(action "jumpToPost")
}}
/> />
</span> </span>
<TopicAdminMenuButton <TopicAdminMenuButton
@ -335,7 +341,7 @@
<PluginOutlet <PluginOutlet
@name="topic-above-posts" @name="topic-above-posts"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -526,7 +532,7 @@
<PluginOutlet <PluginOutlet
@name="topic-above-footer-buttons" @name="topic-above-footer-buttons"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
@ -568,7 +574,7 @@
<PluginOutlet <PluginOutlet
@name="topic-above-suggested" @name="topic-above-suggested"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
<div <div

View File

@ -1,7 +1,7 @@
<PluginOutlet <PluginOutlet
@name="above-user-profile" @name="above-user-profile"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
<div <div
class="container class="container
@ -111,7 +111,7 @@
<div class="primary"> <div class="primary">
<PluginOutlet <PluginOutlet
@name="before-user-profile-avatar" @name="before-user-profile-avatar"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
<UserProfileAvatar @user={{this.model}} @tagName="" /> <UserProfileAvatar @user={{this.model}} @tagName="" />
<div class="primary-textual"> <div class="primary-textual">
@ -150,7 +150,7 @@
<PluginOutlet <PluginOutlet
@name="user-post-names" @name="user-post-names"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</div> </div>
@ -201,7 +201,7 @@
<PluginOutlet <PluginOutlet
@name="user-location-and-website" @name="user-location-and-website"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</div> </div>
@ -256,7 +256,7 @@
<PluginOutlet <PluginOutlet
@name="user-profile-public-fields" @name="user-profile-public-fields"
@connectorTagName="div" @connectorTagName="div"
@args={{hash @outletArgs={{hash
publicUserFields=this.publicUserFields publicUserFields=this.publicUserFields
model=this.model model=this.model
}} }}
@ -269,7 +269,7 @@
<PluginOutlet <PluginOutlet
@name="user-profile-primary" @name="user-profile-primary"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</div> </div>
@ -311,7 +311,7 @@
<PluginOutlet <PluginOutlet
@name="user-profile-controls" @name="user-profile-controls"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
{{#if this.canExpandProfile}} {{#if this.canExpandProfile}}
@ -332,7 +332,7 @@
</div> </div>
<PluginOutlet <PluginOutlet
@name="user-profile-above-collapsed-info" @name="user-profile-above-collapsed-info"
@args={{hash model=this.model collapsedInfo=this.collapsedInfo}} @outletArgs={{hash model=this.model collapsedInfo=this.collapsedInfo}}
/> />
{{#unless this.collapsedInfo}} {{#unless this.collapsedInfo}}
<div class="secondary" id="collapsed-info-panel"> <div class="secondary" id="collapsed-info-panel">
@ -422,7 +422,7 @@
<PluginOutlet <PluginOutlet
@name="user-profile-secondary" @name="user-profile-secondary"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</div> </div>
{{/unless}} {{/unless}}
@ -491,7 +491,7 @@
<PluginOutlet <PluginOutlet
@name="user-main-nav" @name="user-main-nav"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
{{#if this.model.can_edit}} {{#if this.model.can_edit}}

View File

@ -71,7 +71,7 @@
<PluginOutlet <PluginOutlet
@name="user-activity-bottom" @name="user-activity-bottom"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</MobileNav> </MobileNav>

View File

@ -22,7 +22,7 @@
{{/each}} {{/each}}
<PluginOutlet <PluginOutlet
@name="after-user-profile-badges" @name="after-user-profile-badges"
@args={{hash user=this.user.model}} @outletArgs={{hash user=this.user.model}}
/> />
</div> </div>
</DSection> </DSection>

View File

@ -158,7 +158,7 @@
<PluginOutlet <PluginOutlet
@name="user-messages-nav" @name="user-messages-nav"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</MobileNav> </MobileNav>

View File

@ -60,7 +60,7 @@
<PluginOutlet <PluginOutlet
@name="user-notifications-bottom" @name="user-notifications-bottom"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
</MobileNav> </MobileNav>

View File

@ -2,7 +2,7 @@
<div class="user-content" id="user-content"> <div class="user-content" id="user-content">
<PluginOutlet <PluginOutlet
@name="above-user-summary-stats" @name="above-user-summary-stats"
@args={{hash model=this.model user=this.user}} @outletArgs={{hash model=this.model user=this.user}}
/> />
{{#if this.model.can_see_summary_stats}} {{#if this.model.can_see_summary_stats}}
<div class="top-section stats-section"> <div class="top-section stats-section">
@ -95,7 +95,7 @@
<PluginOutlet <PluginOutlet
@name="user-summary-stat" @name="user-summary-stat"
@connectorTagName="li" @connectorTagName="li"
@args={{hash model=this.model user=this.user}} @outletArgs={{hash model=this.model user=this.user}}
/> />
</ul> </ul>
</div> </div>
@ -103,7 +103,7 @@
<PluginOutlet <PluginOutlet
@name="below-user-summary-stats" @name="below-user-summary-stats"
@args={{hash model=this.model user=this.user}} @outletArgs={{hash model=this.model user=this.user}}
/> />
<div class="top-section"> <div class="top-section">
@ -282,7 +282,7 @@
{{/each}} {{/each}}
<PluginOutlet <PluginOutlet
@name="after-user-summary-badges" @name="after-user-summary-badges"
@args={{hash model=this.model user=this.user}} @outletArgs={{hash model=this.model user=this.user}}
/> />
</div> </div>
{{else}} {{else}}

View File

@ -6,7 +6,7 @@
<PluginOutlet <PluginOutlet
@name="users-top" @name="users-top"
@connectorTagName="div" @connectorTagName="div"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</span> </span>
<div class="directory-controls"> <div class="directory-controls">
@ -56,7 +56,7 @@
{{/if}} {{/if}}
<PluginOutlet <PluginOutlet
@name="users-directory-controls" @name="users-directory-controls"
@args={{hash model=this.model}} @outletArgs={{hash model=this.model}}
/> />
</div> </div>
</div> </div>

View File

@ -69,7 +69,7 @@ module("Integration | Component | plugin-outlet", function (hooks) {
test("Renders a template into the outlet", async function (assert) { test("Renders a template into the outlet", async function (assert) {
this.set("shouldDisplay", false); this.set("shouldDisplay", false);
await render( await render(
hbs`<PluginOutlet @name="test-name" @args={{hash shouldDisplay=this.shouldDisplay}} />` hbs`<PluginOutlet @name="test-name" @outletArgs={{hash shouldDisplay=this.shouldDisplay}} />`
); );
assert.strictEqual(count(".hello-username"), 1, "renders the hello outlet"); assert.strictEqual(count(".hello-username"), 1, "renders the hello outlet");
assert.false( assert.false(
@ -101,7 +101,7 @@ module("Integration | Component | plugin-outlet", function (hooks) {
test("Reevaluates shouldRender for argument changes", async function (assert) { test("Reevaluates shouldRender for argument changes", async function (assert) {
this.set("shouldDisplay", false); this.set("shouldDisplay", false);
await render( await render(
hbs`<PluginOutlet @name="test-name" @args={{hash shouldDisplay=this.shouldDisplay}} />` hbs`<PluginOutlet @name="test-name" @outletArgs={{hash shouldDisplay=this.shouldDisplay}} />`
); );
assert.false( assert.false(
exists(".conditional-render"), exists(".conditional-render"),
@ -116,7 +116,7 @@ module("Integration | Component | plugin-outlet", function (hooks) {
test("Reevaluates shouldRender for other autotracked changes", async function (assert) { test("Reevaluates shouldRender for other autotracked changes", async function (assert) {
this.set("shouldDisplay", false); this.set("shouldDisplay", false);
await render( await render(
hbs`<PluginOutlet @name="test-name" @args={{hash shouldDisplay=this.shouldDisplay}} />` hbs`<PluginOutlet @name="test-name" @outletArgs={{hash shouldDisplay=this.shouldDisplay}} />`
); );
assert.false( assert.false(
exists(".conditional-render"), exists(".conditional-render"),
@ -131,7 +131,7 @@ module("Integration | Component | plugin-outlet", function (hooks) {
test("Other outlets are not re-rendered", async function (assert) { test("Other outlets are not re-rendered", async function (assert) {
this.set("shouldDisplay", false); this.set("shouldDisplay", false);
await render( await render(
hbs`<PluginOutlet @name="test-name" @args={{hash shouldDisplay=this.shouldDisplay}} />` hbs`<PluginOutlet @name="test-name" @outletArgs={{hash shouldDisplay=this.shouldDisplay}} />`
); );
const otherOutletElement = query(".hello-username"); const otherOutletElement = query(".hello-username");

View File

@ -14,6 +14,6 @@
</span> </span>
<PluginOutlet <PluginOutlet
@name="below-wizard-checkbox" @name="below-wizard-checkbox"
@args={{hash disabled=this.field.disabled}} @outletArgs={{hash disabled=this.field.disabled}}
/> />
</label> </label>

View File

@ -66,7 +66,7 @@
<PluginOutlet <PluginOutlet
@name="below-public-chat-channels" @name="below-public-chat-channels"
@tagName="" @tagName=""
@args={{hash inSidebar=this.inSidebar}} @outletArgs={{hash inSidebar=this.inSidebar}}
/> />
{{#if this.showDirectMessageChannels}} {{#if this.showDirectMessageChannels}}

View File

@ -34,7 +34,7 @@
{{/if}} {{/if}}
<PluginOutlet <PluginOutlet
@name="after-chat-channel-username" @name="after-chat-channel-username"
@args={{hash user=user}} @outletArgs={{hash user=user}}
@tagName="" @tagName=""
@connectorTagName="" @connectorTagName=""
/> />