Skip to content

Commit 979521b

Browse files
chore: styles and texts adjusted
1 parent ff39e7c commit 979521b

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/authz-module/audit-user/RenderAdminRole.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const RenderAdminRole = ({ role }: RenderAdminRoleProps) => {
1414

1515
return (
1616
<div className="mb-4">
17-
<p className="mb-0 text-gray-700">
17+
<p className="mb-0 text-primary-300 font-weight-light">
1818
{intl.formatMessage(messages[messageKey])}
1919
</p>
2020
</div>

src/authz-module/components/ResourceTooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ResourceTooltip = ({ resourceGroup }:ResourceTooltipProps) => (
2424
</Popover>
2525
)}
2626
>
27-
<Icon className="d-inline-block text-gray ml-2 my-auto" size="inline" src={Info} />
27+
<Icon className="d-inline-block text-gray-300 ml-2 my-auto" size="inline" src={Info} />
2828
</OverlayTrigger>
2929
);
3030

src/authz-module/courses/constant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export const coursePermissions: PermissionMetadata[] = [
221221
key: CONTENT_COURSE_PERMISSIONS.VIEW_COURSE_DETAILS,
222222
resource: 'course_schedule_details',
223223
description: 'See course information including the course summary, pacing, and prerequisites..',
224-
label: 'View course details',
224+
label: 'View details',
225225
icon: RemoveRedEye,
226226
},
227227
{
@@ -236,7 +236,7 @@ export const coursePermissions: PermissionMetadata[] = [
236236
key: CONTENT_COURSE_PERMISSIONS.VIEW_COURSE_GRADING_SETTINGS,
237237
resource: 'course_grading',
238238
description: 'See the grading configuration for the course, including assignment types and grading scale.',
239-
label: 'View grading settings',
239+
label: 'View grading',
240240
icon: RemoveRedEye,
241241
},
242242
{

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export type PermissionMetadata = {
5050
resource: string;
5151
label?: string;
5252
description?: string;
53+
icon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
5354
};
5455

5556
export type Org = {

0 commit comments

Comments
 (0)