Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#44751] removed non-BEM classes

Eric Schubert88a1e837b24d
diff --git a/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html b/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html
index 93c2e8e7fa6..56e4c39b828 100644
--- a/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html
+++ b/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html
@@ -15,9 +15,8 @@
<a
class="spot-list--item-action spot-list--item-action_link op-file-list--item-action"
[ngClass]="{
- 'disabled': disabled,
'spot-list--item-action_disabled': disabled,
- 'view-not-allowed': !viewAllowed
+ 'op-file-list--item-action_view-not-allowed': !viewAllowed
}"
[href]="fileLink._links.staticOriginOpen.href"
[title]="fileLink.originData.name"
diff --git a/frontend/src/global_styles/content/work_packages/shared/_file_list.sass b/frontend/src/global_styles/content/work_packages/shared/_file_list.sass
index 99fa3b68717..51272d6d555 100644
--- a/frontend/src/global_styles/content/work_packages/shared/_file_list.sass
+++ b/frontend/src/global_styles/content/work_packages/shared/_file_list.sass
@@ -33,15 +33,11 @@
&-action
text-decoration: none
- &.disabled
- color: $spot-color-basic-gray-1
- pointer-events: none
-
&:hover
.op-file-list--item-title
text-decoration: underline
- &-action.view-not-allowed &-title
+ &-action_view-not-allowed &-title
opacity: 0.5
&-title