feat: exclude unavailable assignments from list for teamer
This commit is contained in:
1 parent
b03f6e377a
commit
8d8d6dacd3
3 files changed
+43
-2
No files matched your search
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
<div>
|
||||
{% if assignment.applications|length %}
|
||||
{% set application = assignment.applications[0] %}
|
||||
{% set application = assignment.applicationByTeamer(teamer) %}
|
||||
{% if application.status == constant('App\\Entity\\Application::STATUS_REJECTED') %}
|
||||
<a href="{{ path('app_teamer_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
|
||||
class="btn btn--small flex items-center space-x-2 bg-gray-100 text-gray-800 hover:bg-gray-50">
|
||||
|
||||
Reference in new issue
Block a user