Skip to content

Commit

Permalink
migrate organization-learner empty-state to gjs
Browse files Browse the repository at this point in the history
  • Loading branch information
machestla authored Dec 18, 2024
1 parent fdc7cf9 commit 17f08dd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 25 deletions.
16 changes: 16 additions & 0 deletions orga/app/components/organization-learner/activity/empty-state.gjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { t } from 'ember-intl';
import capitalize from 'lodash/capitalize';

<template>
<section class="panel empty-state">
<img src="{{this.rootURL}}/images/empty-state-activity.svg" alt="" role="none" />

<div class="empty-state__text">
<p>{{t
"pages.organization-learner.activity.empty-state"
organizationLearnerFirstName=(capitalize @firstName)
organizationLearnerLastName=(capitalize @lastName)
}}</p>
</div>
</section>
</template>
11 changes: 0 additions & 11 deletions orga/app/components/organization-learner/activity/empty-state.hbs

This file was deleted.

14 changes: 0 additions & 14 deletions orga/app/components/organization-learner/activity/empty-state.js

This file was deleted.

0 comments on commit 17f08dd

Please sign in to comment.