Skip to content

Commit

Permalink
Truncate t.task output in task table
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayvented committed Nov 21, 2023
1 parent 4d97c7a commit e3e209b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/task/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<tr class="{{ rowClass }}" data-href="{{ path('task_edit', {'id': t.id}) }}">
<td>{{ t.id }}</td>
<td>{{ t.title }}</td>
<td>{{ t.task|striptags|replace({'&nbsp;' : ' '})|u.truncate(20, '...') }}</td>
<td>{{ t.task|striptags|replace({'&nbsp;' : ' '})|u.truncate(50, '...') }}</td>
<td>{{ t.prioString }}</td>
<td>
{% trans from 'general' %}createdAt{% endtrans %}: {{ t.createdAt|date('d.m.Y') }}{% if t.endDate %}
Expand Down

0 comments on commit e3e209b

Please sign in to comment.