This commit is contained in:
2025-07-11 14:00:54 +02:00
parent ee8220f059
commit fcfe19b047
3 changed files with 22 additions and 13 deletions

View File

@ -23,7 +23,6 @@ services:
ports:
- "8008:80"
volumes:
- ./assets:/app/assets:delegated
- ./src:/app/src:delegated
- ./templates:/app/templates:delegated
- ./config:/app/config:delegated

View File

@ -246,6 +246,7 @@ class RedmineService
$parent = $this->issueRepository->find($issue->getRedmine()['parent']['id']);
}
$issue->setParent($parent);
$this->em->flush();
}
}

View File

@ -17,6 +17,11 @@
</div>
</div>
<div>
{% for child in issue.childs %}
{{ child.id }}
{% endfor %}
</div>
<div class="issueDescription card-body" style="height:500px;overflow-y:auto">
<div class="d-flex">
<div class="mb-3" style="flex-grow:0.5">
@ -71,22 +76,26 @@
</div>
{% endif %}
{% for journal in issue.redmine.journals %}
{% if journal.notes != "" %}
<div class="card">
<div class="card-header">
<strong>Auteur =</strong> {{journal.user.name}}</strong><br>
<small class="text-muted">Créé le =</strong>{{ journal.created_on|date('d/m/Y H:i') }}</small>
{% if issue.redmine.journals is defined %}
{% for journal in issue.redmine.journals %}
{% if journal.notes != "" %}
<div class="card">
<div class="card-header">
<strong>Auteur =</strong> {{journal.user.name}}</strong><br>
<small class="text-muted">Créé le =</strong>{{ journal.created_on|date('d/m/Y H:i') }}</small>
</div>
<div class="card-body">
{{ journal.notes |textile_to_html|raw }}
</div>
</div>
<div class="card-body">
{{ journal.notes |textile_to_html|raw }}
</div>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
<hr>
{{dump(issue)}}
<br><br>
</div>
</div>