2025-07-06 21:36:09 +02:00
|
|
|
|
<div class="card mb-3">
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
<div class="mb-0 d-flex" style="align-items:baseline">
|
|
|
|
|
<h5 style="flex-grow:1">#{{ issue.redmine.id }} – {{ issue.redmine.subject }}</h5>
|
|
|
|
|
<a href="{{redmineUrl}}/issues/{{issue.id}}" target="_blank" class="btn btn-primary"><i class="fas fa-eye"></i></a>
|
|
|
|
|
<div class="btn btn-secondary" onClick="$('.issueContainer').hide();$('.scrumContainer').css('padding-left','0px');"><i class="fas fa-window-close"></i></div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<small class="text-muted">Projet : {{ issue.redmine.project.name }} • Tracker : {{ issue.redmine.tracker.name }}</small>
|
|
|
|
|
</div>
|
|
|
|
|
|
2025-07-06 22:56:43 +02:00
|
|
|
|
<div class="issueDescription card-body" style="height:500px;overflow-y:auto">
|
2025-07-06 21:36:09 +02:00
|
|
|
|
<div class="d-flex">
|
|
|
|
|
<div class="mb-3" style="flex-grow:0.5">
|
|
|
|
|
<strong>Statut :</strong> {{ issue.redmine.status.name }}<br>
|
|
|
|
|
<strong>Priorité :</strong> {{ issue.redmine.priority.name }}<br><br>
|
|
|
|
|
|
|
|
|
|
{% set sprintName = null %}
|
|
|
|
|
{% for sprint in issue.project.redmine.sprints %}
|
|
|
|
|
{% if sprint.id == issue.rowsprint %}
|
|
|
|
|
{% set sprintName = sprint.name %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% if sprintName %}
|
|
|
|
|
<strong>Sprint :</strong> {{sprintName}} (Position {{ issue.redmine.sprint.position }})<br>
|
|
|
|
|
{% else %}
|
|
|
|
|
<strong>Sprint :</strong> Aucun (Position {{ issue.redmine.sprint.position }})<br>
|
|
|
|
|
{% endif %}
|
2025-07-07 22:40:18 +02:00
|
|
|
|
<strong>Version Cible :</strong> {{(issue.redmine.fixed_version is defined?issue.redmine.fixed_version.name:'Aucune')}}<br>
|
2025-07-06 21:36:09 +02:00
|
|
|
|
<strong>Story Point :</strong> {{issue.redmine.sprint.story_points}}<br>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<strong>Auteur :</strong> {{ issue.redmine.author.name }}<br>
|
|
|
|
|
<strong>Progression :</strong> {{ issue.redmine.done_ratio }}%<br>
|
|
|
|
|
<strong>Créé le :</strong>{{ issue.redmine.created_on|date('d/m/Y H:i') }}<br>
|
|
|
|
|
<strong>Mis à jour le :</strong>{{ issue.redmine.updated_on|date('d/m/Y H:i') }}<br>
|
|
|
|
|
<strong>Date de début :</strong> {{ issue.redmine.start_date|date('d/m/Y') }}<br>
|
|
|
|
|
<strong>Date de fin :</strong> {{ issue.redmine.due_date|date('d/m/Y') }}<br>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{% if issue.redmine.description %}
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
<hr>
|
|
|
|
|
<strong>Description :</strong>
|
2025-07-07 22:40:18 +02:00
|
|
|
|
<p>{{ issue.redmine.description|textile_to_html|raw }}</p>
|
2025-07-06 21:36:09 +02:00
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
{% if issue.redmine.custom_fields|length %}
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
<hr>
|
|
|
|
|
<strong>Champs personnalisés :</strong>
|
|
|
|
|
<ul class="list-group">
|
|
|
|
|
{% for field in issue.redmine.custom_fields %}
|
|
|
|
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
|
|
|
|
{{ field.name }}
|
|
|
|
|
<span class="text-muted">
|
|
|
|
|
{% if field.multiple is defined and field.multiple and field.value is iterable %}
|
|
|
|
|
{{ field.value|join(', ') }}
|
|
|
|
|
{% elseif field.value %}
|
|
|
|
|
{{ field.value }}
|
|
|
|
|
{% else %}
|
|
|
|
|
<em>—</em>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
2025-07-07 22:40:18 +02:00
|
|
|
|
<br><br>
|
2025-07-06 21:36:09 +02:00
|
|
|
|
</div>
|