diff --git a/cms/version.py b/cms/version.py index d225d7e8..d8ebbe6e 100644 --- a/cms/version.py +++ b/cms/version.py @@ -1 +1 @@ -VERSION = "8.91" +VERSION = "8.92" diff --git a/frontend/src/static/js/components/BulkActionCategoryModal.scss b/frontend/src/static/js/components/BulkActionCategoryModal.scss index 13568bdc..b9bb5682 100644 --- a/frontend/src/static/js/components/BulkActionCategoryModal.scss +++ b/frontend/src/static/js/components/BulkActionCategoryModal.scss @@ -54,7 +54,7 @@ .category-modal-header { display: flex; justify-content: space-between; - align-items: center; + align-items: flex-start; padding: 20px 24px; border-bottom: 1px solid #e0e0e0; @@ -74,6 +74,19 @@ } } +.category-modal-subtitle { + display: flex; + align-items: center; + gap: 8px; + margin-top: 6px; + font-size: 13px; + color: #777; + + .dark_theme & { + color: #aaa; + } +} + .category-modal-close { background: none; border: none; diff --git a/frontend/src/static/js/components/BulkActionCategoryModal.tsx b/frontend/src/static/js/components/BulkActionCategoryModal.tsx index ad890610..53f05dbd 100644 --- a/frontend/src/static/js/components/BulkActionCategoryModal.tsx +++ b/frontend/src/static/js/components/BulkActionCategoryModal.tsx @@ -193,7 +193,14 @@ export const BulkActionCategoryModal: React.FC = (
-

{isLmsMode ? translateString('Share with Course') : translateString('Add / Remove from Categories')}

+
+

{isLmsMode ? translateString('Share with Course') : translateString('Add / Remove from Categories')}

+ {isLmsMode && ( +
+ {translateString('Students will get viewer permissions, while lecturers will get co-owner permissions (same as owner, but cannot delete the media)')} +
+ )} +
diff --git a/frontend/src/static/js/components/BulkActionsDropdown.scss b/frontend/src/static/js/components/BulkActionsDropdown.scss index 26ec6897..61929553 100644 --- a/frontend/src/static/js/components/BulkActionsDropdown.scss +++ b/frontend/src/static/js/components/BulkActionsDropdown.scss @@ -40,6 +40,12 @@ color: #666; } + optgroup { + color: #000; + font-weight: 700; + background-color: white; + } + option { padding: 10px; font-weight: normal; @@ -77,6 +83,11 @@ color: #aaa; } + optgroup { + color: #fff; + background-color: #2a2a2a; + } + option { background-color: #2a2a2a; color: #fff;