DEV: migrates user-summary-section to gjs (#27834)
This commit is contained in:
parent
d2873d9775
commit
52ea5c7eb0
|
@ -0,0 +1,11 @@
|
|||
import { concat } from "@ember/helper";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
|
||||
const UserSummarySection = <template>
|
||||
<div class="top-sub-section" ...attributes>
|
||||
<h3 class="stats-title">{{i18n (concat "user.summary." @title)}}</h3>
|
||||
{{yield}}
|
||||
</div>
|
||||
</template>;
|
||||
|
||||
export default UserSummarySection;
|
|
@ -1,2 +0,0 @@
|
|||
<h3 class="stats-title">{{i18n (concat "user.summary." @title)}}</h3>
|
||||
{{yield}}
|
|
@ -1,4 +0,0 @@
|
|||
import Component from "@ember/component";
|
||||
export default Component.extend({
|
||||
classNames: ["top-sub-section"],
|
||||
});
|
Loading…
Reference in New Issue