mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-26 04:58:53 +08:00
Enables our new eslint rules which enforce consistent i18n imports. For more info, see 0d58b40cd7
20 lines
558 B
Text
Vendored
20 lines
558 B
Text
Vendored
import DButton from "discourse/components/d-button";
|
|
import concatClass from "discourse/helpers/concat-class";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
const AdminConfigAreaEmptyList = <template>
|
|
<div class="admin-config-area-empty-list">
|
|
{{i18n @emptyLabel}}
|
|
<DButton
|
|
@label={{@ctaLabel}}
|
|
class={{concatClass
|
|
"btn-default btn-small admin-config-area-empty-list__cta-button"
|
|
@ctaClass
|
|
}}
|
|
@action={{@ctaAction}}
|
|
@route={{@ctaRoute}}
|
|
/>
|
|
</div>
|
|
</template>;
|
|
|
|
export default AdminConfigAreaEmptyList;
|