discourse/app/assets/javascripts/admin/addon/templates/dashboard_security.hbs
David Taylor 26b5c0472f DEV: Remove use of PluginOutlet @tagName argument in core
The `tagName` argument is now deprecated. This commit uses a codemod (https://github.com/discourse/discourse-ember-codemods/tree/main/transforms/extract-plugin-outlet-tagname) to automatically remove the `@tagName` from all PluginOutlet invocations, and create a matching wrapper element so that the HTML structure is unchanged. We may want to remove some/all of these wrappers entirely in future, but that would be a riskier change which we should tackle on a case-by-case basis.
2023-01-31 12:15:37 +00:00

27 lines
526 B
Handlebars

<div class="sections">
<span>
<PluginOutlet
@name="admin-dashboard-security-top"
@connectorTagName="div"
/>
</span>
<div class="main-section">
<AdminReport
@dataSourceName="suspicious_logins"
@filters={{this.lastWeekfilters}}
/>
<AdminReport
@dataSourceName="staff_logins"
@filters={{this.lastWeekfilters}}
/>
<span>
<PluginOutlet
@name="admin-dashboard-security-bottom"
@connectorTagName="div"
/>
</span>
</div>
</div>