Widget fixes (#2373)

* fix click on row in team-projects
* hide deactivated users in team listing
This commit is contained in:
Kevin Papst
2021-02-21 00:51:46 +01:00
committed by GitHub
parent 607d09aefb
commit 2e7bfc822c
2 changed files with 7 additions and 6 deletions

View File

@@ -18,8 +18,8 @@
<tbody>
{% for stats in projectStats|sort((a, b) => a.project.name <=> b.project.name) %}
{% set project = stats.project %}
<tr>
<td{% if is_granted('details', stats.project) %} class="alternative-link open-edit" data-href="{{ path('project_details', {'id': stats.project.id}) }}"{% endif %}>
<tr{% if is_granted('details', stats.project) %} class="alternative-link open-edit" data-href="{{ path('project_details', {'id': stats.project.id}) }}"{% endif %}>
<td>
{{ widgets.label_project(stats.project) }}
<br>
<small>{{ widgets.label_customer(stats.project.customer) }}</small>