Skip to content

Commit

Permalink
fixup! Add Status Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehrke committed Aug 18, 2020
1 parent b3e5589 commit 3adb887
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions apps/user_status/css/user-status-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
*
*/

.icon-user-status {
@include icon-color('app', 'user_status', $color-black, 1);
}

.icon-user-status-away {
@include icon-color('user-status-away', 'user_status', '#F4A331', 1);
}
Expand Down
2 changes: 1 addition & 1 deletion apps/user_status/lib/Dashboard/UserStatusWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function getOrder(): int {
* @inheritDoc
*/
public function getIconClass(): string {
return 'icon-user-status-away';
return 'icon-user-status';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion apps/user_status/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</DashboardWidgetItem>
</template>
<template v-slot:empty-content>
<EmptyContent icon="icon-user-status-away">
<EmptyContent icon="icon-user-status">
{{ t('user_status', 'No one recently updated their status.') }}
</EmptyContent>
</template>
Expand Down

0 comments on commit 3adb887

Please sign in to comment.