mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Display too draft periods without creator in periods of a person
This commit is contained in:
parent
bef1d6b4a3
commit
a59e84b029
@ -174,7 +174,8 @@ final class AccompanyingPeriodACLAwareRepository implements AccompanyingPeriodAC
|
|||||||
->andWhere(
|
->andWhere(
|
||||||
$qb->expr()->orX(
|
$qb->expr()->orX(
|
||||||
$qb->expr()->neq('ap.step', ':draft'),
|
$qb->expr()->neq('ap.step', ':draft'),
|
||||||
$qb->expr()->eq('ap.createdBy', ':creator')
|
$qb->expr()->orX($qb->expr()->eq('ap.createdBy', ':creator'),
|
||||||
|
$qb->expr()->isNull('ap.createdBy'))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
->setParameter('draft', AccompanyingPeriod::STEP_DRAFT)
|
->setParameter('draft', AccompanyingPeriod::STEP_DRAFT)
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<h1>{{ 'My accompanying periods in draft'|trans }}</h1>
|
<h1>{{ 'My accompanying periods in draft'|trans }}</h1>
|
||||||
|
<p class="help-text">{{ 'Display draft periods created by me'|trans }}</p>
|
||||||
|
|
||||||
<div class="flex-table accompanyingcourse-list">
|
<div class="flex-table accompanyingcourse-list">
|
||||||
{% for period in accompanyingPeriods %}
|
{% for period in accompanyingPeriods %}
|
||||||
|
@ -966,6 +966,7 @@ Linked evaluations: Évaluations associées
|
|||||||
# Accompanying period per user
|
# Accompanying period per user
|
||||||
My accompanying periods: Mes parcours
|
My accompanying periods: Mes parcours
|
||||||
My accompanying periods in draft: Mes parcours brouillons
|
My accompanying periods in draft: Mes parcours brouillons
|
||||||
|
Display draft periods created by me: Affiche les parcours brouillon que j'ai créé (pas ceux dont je suis référent)
|
||||||
Number of periods: Nombre de parcours
|
Number of periods: Nombre de parcours
|
||||||
|
|
||||||
workflow:
|
workflow:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user