mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 07:23:15 +08:00
DEV: Add plugin outlet to the group info template (#28624)
* DEV: Add plugin outlet to the group info template
This commit is contained in:
parent
bdd00a84b0
commit
22c7fde850
|
@ -1,11 +1,19 @@
|
||||||
|
import { hash } from "@ember/helper";
|
||||||
import { or } from "truth-helpers";
|
import { or } from "truth-helpers";
|
||||||
|
import PluginOutlet from "discourse/components/plugin-outlet";
|
||||||
|
|
||||||
const GroupsInfo = <template>
|
const GroupsInfo = <template>
|
||||||
<span class="group-info-details">
|
<PluginOutlet
|
||||||
<span class="groups-info-name">
|
@name="group-info-details"
|
||||||
{{or @group.full_name @group.displayName}}
|
@outletArgs={{hash group=@group}}
|
||||||
|
@defaultGlimmer={{true}}
|
||||||
|
>
|
||||||
|
<span class="group-info-details">
|
||||||
|
<span class="groups-info-name">
|
||||||
|
{{or @group.full_name @group.displayName}}
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</PluginOutlet>
|
||||||
</template>;
|
</template>;
|
||||||
|
|
||||||
export default GroupsInfo;
|
export default GroupsInfo;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user