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

[#45947] Remove unnecessary title attributes from list items in file and location picker modals

- https://community.openproject.org/work_packages/45947
pull/11978/merge
Eric Schubert 2 years ago committed by GitHub
parent 2b23113b63
commit 1129bcc5c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.html
  2. 1
      frontend/src/app/shared/components/project-include/list/project-include-list.component.html
  3. 2
      frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html
  4. 1
      frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html
  5. 2
      lib/redmine/menu_manager/top_menu/projects_menu.rb

@ -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

@ -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>

@ -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}}"

@ -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}}"

@ -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

Loading…
Cancel
Save