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

[41138] Fix buttons on team planner index

Oliver Günthereb7f6d590b8c
diff --git a/frontend/src/app/features/boards/index-page/boards-index-page.component.html b/frontend/src/app/features/boards/index-page/boards-index-page.component.html
index 5df41858e20..8c4b354f177 100644
--- a/frontend/src/app/features/boards/index-page/boards-index-page.component.html
+++ b/frontend/src/app/features/boards/index-page/boards-index-page.component.html
@@ -97,9 +97,9 @@
<button class="op-link"
type="button"
(click)="destroyBoard(board)"
+ [title]="text.delete"
>
<op-icon icon-classes="icon icon-delete"></op-icon>
- <span [textContent]="text.delete"></span>
</button>
</td>
</tr>
diff --git a/modules/team_planner/app/cells/team_planner/row_cell.rb b/modules/team_planner/app/cells/team_planner/row_cell.rb
index e3464808b9a..91dce96daf7 100644
--- a/modules/team_planner/app/cells/team_planner/row_cell.rb
+++ b/modules/team_planner/app/cells/team_planner/row_cell.rb
@@ -61,8 +61,9 @@ module TeamPlanner
def delete_link
if table.current_user.allowed_to?(:manage_team_planner, project)
link_to(
- op_icon('icon icon-delete'),
+ '',
project_team_planner_path(project, query.id),
+ class: 'op-link icon icon-delete',
method: :delete,
data: {
confirm: I18n.t(:text_are_you_sure),