mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 20:45:17 +08:00
ae79ba1447
Example: ```hbs <DBreadcrumbItem @path="/admin/plugins/{{@plugin.name}}" @label={{@plugin.nameTitleized}} /> ``` Using `@path` instead of `@route`+`@model` combo makes it impossible to pass temporarily unresolvable routes. This fixes a bug with navigating from a model-based route to a parent route.
15 lines
421 B
Handlebars
15 lines
421 B
Handlebars
<DBreadcrumbsItem
|
|
@path="/admin/plugins/{{@model.plugin.name}}/settings"
|
|
@label={{i18n "admin.plugins.change_settings_short"}}
|
|
/>
|
|
|
|
<div
|
|
class="content-body admin-plugin-config-area__settings admin-detail pull-left"
|
|
>
|
|
<AdminPluginFilteredSiteSettings
|
|
@initialFilter={{@model.initialFilter}}
|
|
@plugin={{@model.plugin}}
|
|
@settings={{@model.settings}}
|
|
@onFilterChanged={{this.filterChanged}}
|
|
/>
|
|
</div> |