Fixes #3228 - Improve Data Privacy - task list UI of completed tasks with common UI behavior

This commit is contained in:
Martin Edenhofer 2020-10-19 05:26:13 +02:00
parent dd2bc1eca8
commit 971ece82e4

View file

@ -1,7 +1,7 @@
<% if @tasks.length > 0: %>
<% for task in @tasks: %>
<% if task.preferences.user: %>
<div class="action" data-id="<%- task.id %>">
<div class="action <% if task.state is 'completed': %>is-inactive<% end %>" data-id="<%- task.id %>">
<div class="action-row">
<div class="action-flow action-flow--noWrap">
<h2><%- @T('Delete User') %></h2>