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">
2025-07-09 22:12:43 +02:00
<h5 style="flex-grow:1"># {{ issue .redmine .id }} = {{ issue .redmine .subject }} </h5>
2025-07-24 22:26:12 +02:00
<a href=" {{ redmineUrl }} /issues/ {{ issue .id }} " target="_blank" class="btn btn-primary me-1"><i class="fas fa-eye"></i></a>
<a href=" {{ redmineUrl }} /issues/ {{ issue .id }} /edit" target="_blank" class="btn btn-primary me-1"><i class="fas fa-pencil"></i></a>
<div class="btn btn-warning" onClick="hideIssue()"><i class="fas fa-window-close"></i></div>
2025-07-06 21:36:09 +02:00
</div>
2025-07-10 22:42:04 +02:00
<div class="d-flex">
<small class="text-muted" style="flex-grow:1">Projet : {{ issue .redmine .project .name }} • Tracker : {{ issue .redmine .tracker .name }} </small>
2025-07-11 17:00:24 +02:00
{% if issue .redmine .custom_fields is defined %}
{% for field in issue .redmine .custom_fields %}
{% if field .id == 1 1 and field .value != "" %}
<small class="text-muted"><strong> {{ field .name }} =</strong> <a href=" {{ field .value }} " target="_blank"> {{ field .value | split ( '/' ) | last }} </a></small>
{% endif %}
{% endfor %}
{% endif %}
2025-07-10 22:42:04 +02:00
</div>
2025-07-14 14:45:07 +02:00
<div class="d-flex">
2025-09-08 14:27:40 +02:00
<a class="btn btn-sm btn-success" href=" {{ path ( "app_issue_update" , { id : issue .id } ) }} ">Modifier / Affecter</a>
2025-07-14 14:45:07 +02:00
</div>
2025-07-06 21:36:09 +02:00
</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">
2025-07-09 22:12:43 +02:00
<strong>Tracker =</strong> {{ issue .redmine .tracker .name }} <br>
2025-07-24 14:39:33 +02:00
<strong>Catégorie =</strong> {{ issue .categoryName }} <br>
2025-07-09 22:12:43 +02:00
<strong>Statut =</strong> {{ issue .redmine .status .name }} <br>
<strong>Priorité =</strong> {{ issue .redmine .priority .name }} <br><br>
2025-07-24 14:39:33 +02:00
<strong>Sprint =</strong> {{ issue .sprintName }} <br>
<strong>Version Cible =</strong> {{ issue .versionName }} <br>
2025-07-09 22:12:43 +02:00
<strong>Story Point =</strong> {{ issue .redmine .sprint .story_points }} <br>
2025-07-06 21:36:09 +02:00
</div>
<div>
2025-07-09 22:12:43 +02:00
<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><br>
2025-07-24 14:39:33 +02:00
<strong>Affecté à =</strong> {{ issue .assignedName }} <br>
2025-07-06 21:36:09 +02:00
</div>
</div>
2025-07-10 22:42:04 +02:00
<div>
2025-07-11 17:00:24 +02:00
{% if issue .redmine .custom_fields is defined %}
{% for field in issue .redmine .custom_fields %}
{% if field .id == 3 2 %}
<hr>
<strong> {{ field .name }} </strong><br>
{{ field .value | textile_to_html | raw }} <br>
{% endif %}
{% endfor %}
{% endif %}
2025-07-10 22:42:04 +02:00
</div>
2025-07-14 14:45:07 +02:00
<div>
{% if issue .parent %}
<hr>
<strong>Issues Parentes</strong>
<div onClick='viewIssue( {{ issue .parent .id }} )' style="cursor:pointer">
<small># {{ issue .parent .id }} = {{ issue .parent .redmine .subject }} </small>
</div>
{% endif %}
{% for child in issue .childs %}
{% if loop .first %}
<hr>
<strong>Issues Liées</strong>
{% endif %}
<div onClick='viewIssue( {{ child .id }} )' style="cursor:pointer">
<small># {{ child .id }} = {{ child .redmine .subject }} </small>
</div>
{% endfor %}
</div>
2025-07-06 21:36:09 +02:00
{% 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
<hr>
</div>
{% endif %}
2025-07-09 08:52:18 +02:00
2025-07-11 14:00:54 +02:00
{% 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>
2025-07-10 22:42:04 +02:00
</div>
2025-07-11 14:00:54 +02:00
{% endif %}
{% endfor %}
{% endif %}
2025-07-10 22:42:04 +02:00
<hr>
2025-07-09 22:12:43 +02:00
<br><br>
2025-09-08 15:36:19 +02:00
<a class="btn btn-sm btn-danger" href=" {{ path ( "app_issue_close" , { id : issue .id } ) }} " onclick="return confirm('Confirmez-vous la fermeture de cette issue ?')">Fermer</a>
2025-07-06 21:36:09 +02:00
</div>
</div>