-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate organization-learner participation-list to gjs
- Loading branch information
Showing
2 changed files
with
38 additions
and
31 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
orga/app/components/organization-learner/activity/participation-list.gjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { t } from 'ember-intl'; | ||
|
||
import TableHeader from '../../table/header'; | ||
import ParticipationRow from './participation-row'; | ||
|
||
<template> | ||
<div class="panel"> | ||
<table class="table content-text content-text--small participation-list__table"> | ||
<thead> | ||
<tr> | ||
<TableHeader @size="wide">{{t | ||
"pages.organization-learner.activity.participation-list.table.column.campaign-name" | ||
}}</TableHeader> | ||
<TableHeader @size="medium" @align="left">{{t | ||
"pages.organization-learner.activity.participation-list.table.column.campaign-type" | ||
}}</TableHeader> | ||
<TableHeader @size="medium" @align="left"> | ||
{{t "pages.organization-learner.activity.participation-list.table.column.created-at"}} | ||
</TableHeader> | ||
<TableHeader @size="medium" @align="left">{{t | ||
"pages.organization-learner.activity.participation-list.table.column.shared-at" | ||
}}</TableHeader> | ||
<TableHeader @size="medium" @align="left">{{t | ||
"pages.organization-learner.activity.participation-list.table.column.status" | ||
}}</TableHeader> | ||
<TableHeader @size="medium" @align="left">{{t | ||
"pages.organization-learner.activity.participation-list.table.column.participation-count" | ||
}}</TableHeader> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{{#each @participations as |participation|}} | ||
<ParticipationRow @participation={{participation}} /> | ||
{{/each}} | ||
</tbody> | ||
</table> | ||
</div> | ||
</template> |
31 changes: 0 additions & 31 deletions
31
orga/app/components/organization-learner/activity/participation-list.hbs
This file was deleted.
Oops, something went wrong.