[41138] Fix buttons on team planner index

pull/10220/head
Oliver Günther 3 years ago
parent ad6c57cf1d
commit eb7f6d590b
  1. 2
      frontend/src/app/features/boards/index-page/boards-index-page.component.html
  2. 3
      modules/team_planner/app/cells/team_planner/row_cell.rb

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

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

Loading…
Cancel
Save