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

[#45947] Remove unnecessary title attributes from list items in file … (#11998)

Eric Schubert1129bcc5c718
diff --git a/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.html b/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.html
index 35c94ae11ac..ff0c31af9e6 100644
--- a/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.html
+++ b/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.html
@@ -12,7 +12,6 @@
'spot-list--item-action_disabled': project.disabled,
'spot-list--item-action_active': (searchableProjectListService.selectedItemID$ | async) === project.id
}"
- [title]="project.name"
[href]="extendedProjectUrl(project.id)"
[attr.data-list-selector]="projectListActionIdentifier"
[attr.data-project-id]="project.id"
@@ -25,7 +24,6 @@
</a>
<span
*ngIf="project.disabled"
- [title]="project.name"
class="spot-list--item-action spot-list--item-action_disabled"
[ngClass]="{
'spot-list--item-action_active': (searchableProjectListService.selectedItemID$ | async) === project.id
diff --git a/frontend/src/app/shared/components/project-include/list/project-include-list.component.html b/frontend/src/app/shared/components/project-include/list/project-include-list.component.html
index 04a9550b055..27f6c4249c7 100644
--- a/frontend/src/app/shared/components/project-include/list/project-include-list.component.html
+++ b/frontend/src/app/shared/components/project-include/list/project-include-list.component.html
@@ -34,7 +34,6 @@
class="spot-list--item-title spot-list--item-title_ellipse-text"
data-qa-selector="op-project-include-list--item-title"
[opSearchHighlight]="searchText"
- [title]="project.name"
>{{ project.name }}</div>
</label>
</ng-container>
diff --git a/frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html b/frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html
index e45abbe5cc7..272ce78c066 100644
--- a/frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html
+++ b/frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html
@@ -20,12 +20,10 @@
'op-file-list--item-action_view-not-allowed': !viewAllowed
}"
[href]="fileLink._links.staticOriginOpen.href"
- [title]="fileLink.originData.name"
target="_blank"
>
<div
class="spot-list--item-title op-file-list--item-title"
- [title]="fileLink.originData.name"
>
<span
class="spot-icon spot-icon_{{fileLinkIcon.icon}} op-files-tab--icon op-files-tab--icon_{{fileLinkIcon.clazz}}"
diff --git a/frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html b/frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html
index d017f9858d4..f1a33e4ae37 100644
--- a/frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html
+++ b/frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html
@@ -25,7 +25,6 @@
<div
class="spot-list--item-title op-file-list--item-title"
- [title]="content.name"
>
<span
class="spot-icon spot-icon_{{content.icon.icon}} op-files-tab--icon op-files-tab--icon_{{content.icon.clazz}}"
diff --git a/lib/redmine/menu_manager/top_menu/projects_menu.rb b/lib/redmine/menu_manager/top_menu/projects_menu.rb
index 37c2a5e1a3f..b1f644864f9 100644
--- a/lib/redmine/menu_manager/top_menu/projects_menu.rb
+++ b/lib/redmine/menu_manager/top_menu/projects_menu.rb
@@ -37,7 +37,7 @@ module Redmine::MenuManager::TopMenu::ProjectsMenu
private
def render_projects_dropdown
- content_tag(:li, class: 'op-app-menu--item', title: I18n.t(:label_project_view_all)) do
+ content_tag(:li, class: 'op-app-menu--item') do
angular_component_tag('op-header-project-select')
end
end