Skip to content

Commit 7708f60

Browse files
chore: styles and texts adjusted
1 parent e70739f commit 7708f60

5 files changed

Lines changed: 6 additions & 5 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/audit-user/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useMemo } from 'react';
1+
import { useMemo } from 'react';
22
import { useIntl } from '@edx/frontend-platform/i18n';
33
import debounce from 'lodash.debounce';
44
import {

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
@@ -47,6 +47,7 @@ export type PermissionMetadata = {
4747
resource: string;
4848
label?: string;
4949
description?: string;
50+
icon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
5051
};
5152

5253
export type UserRole = {

0 commit comments

Comments
 (0)