DEV: migrates user-summary-section to gjs (#27834)

This commit is contained in:
Joffrey JAFFEUX 2024-07-10 16:13:33 +02:00 committed by GitHub
parent d2873d9775
commit 52ea5c7eb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 6 deletions

View File

@ -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;

View File

@ -1,2 +0,0 @@
<h3 class="stats-title">{{i18n (concat "user.summary." @title)}}</h3>
{{yield}}

View File

@ -1,4 +0,0 @@
import Component from "@ember/component";
export default Component.extend({
classNames: ["top-sub-section"],
});