-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(data-table): include acl columns for userlist (#349)
* feat(data-table): include acl columns for userlist Co-authored-by: Christian Zosel <[email protected]>
- Loading branch information
1 parent
73a7fd5
commit 4af09c0
Showing
10 changed files
with
289 additions
and
165 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<thead> | ||
<tr> | ||
{{yield (hash sorthead=(component "data-table/head/sortable-th" update=@update sortedBy=@sortedBy))}} | ||
{{yield (component "data-table/head/column" update=@update sortedBy=@sortedBy)}} | ||
</tr> | ||
</thead> |
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,19 @@ | ||
<th> | ||
{{#if @sort}} | ||
<span | ||
data-test-sortable-th={{@sort}} | ||
class="sortable-th" | ||
role="button" | ||
{{on "click" (fn @update @sort)}} | ||
> | ||
{{yield}} | ||
{{#if (eq @sortedBy @sort)}} | ||
<UkIcon @icon="chevron-down"/> | ||
{{else if (eq @sortedBy (concat "-" @sort))}} | ||
<UkIcon @icon="chevron-up"/> | ||
{{/if}} | ||
</span> | ||
{{else}} | ||
{{yield}} | ||
{{/if}} | ||
</th> |
This file was deleted.
Oops, something went wrong.
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
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
2 changes: 1 addition & 1 deletion
2
...components/data-table/head/sortable-th.js → app/components/data-table/head/column.js
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 |
---|---|---|
@@ -1 +1 @@ | ||
export { default } from "ember-emeis/components/data-table/head/sortable-th"; | ||
export { default } from "ember-emeis/components/data-table/head/column"; |
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
Oops, something went wrong.