{% extends "base.html.twig" %} {% block localstyle %} body { background-color: #efefef; } .issuetitle { margin-top:100px; page-break-before: always; } .issuediv { zoom:60%; } .issuecontent { width:80%; } .issuedetail { width:20%; } @media print { body { background-color: transparent; } } {% endblock %} {% block body %}

{{repo.full_name}}

{% for issue in issues %}

#{{issue.number}} = {{issue.title}}

";

{{issue.user.login}} le {{issue.created_at|date("d/m/Y H:i")}}

{{issue.body|raw}}
{% if issue.comments %} {% for comment in issue.comments %}

{{comment.user.login}} le {{comment.created_at|date("d/m/Y H:i")}}

{{comment.body|markdown_to_html}}
{% endfor %} {% endif %}

Statut

{% if issue.closed_at %} Clos le {{issue.closed_at|date("d/m/Y H:i")}} {% else %} En Cours {% endif %}

Jalon

{% if issue.milestone %} {{ issue.milestone.title|raw }} {% else %} Backlog {% endif %}
{% if issue.labels %}

Labels

{% for label in issue.labels %} {{label.name}} {% endfor%}
{% endif %} {% if issue.timelines %}

Historique

{% for timeline in issue.timelines %} {% if timeline.type!="comment" and timeline.type!="project" and timeline.type!="added_deadline" and timeline.type!="modified_deadline"%}
  • {{timeline.user.login}} le {{timeline.created_at|date("d/m/Y H:i")}}
    {% if timeline.type == "change_title" %}
    Modification titre de {{timeline.old_title}} à {{timeline.new_title}}
    {% elseif timeline.type == "milestone" %} {% if timeline.milestone %}
    Affectation au Jalon {{timeline.milestone.title}}
    {% else %}
    Suppression du Jalon
    {% endif %} {% elseif timeline.type == "label" %}
    Affectation au Label {{timeline.label.name}}
    {% elseif timeline.type == "comment_ref" or timeline.type == "pull_ref" or timeline.type == "issue_ref" %}
    Référencé le ticket #{{timeline.ref_issue.number}} - {{timeline.ref_issue.title}}
    {% elseif timeline.type == "add_dependency" %}
    Ajouté dépendance au ticket #{{timeline.dependent_issue.number}} - {{timeline.dependent_issue.title}}
    {% elseif timeline.type == "remove_dependency" %}
    Supprimé dépendance au ticket #{{timeline.dependent_issue.number}} - {{timeline.dependent_issue.title}}
    {% elseif timeline.type == "pull_push" %}
    Ajout révision
    {% elseif timeline.type == "assignees" %}
    Affecté intervenant {{timeline.assignee.login}}
    {% elseif timeline.type == "commit_ref" %}
    Référencé depuis révision #{{timeline.body|raw}}
    {% elseif timeline.type == "merge_pull" %}
    Révision fusionnée
    {% elseif timeline.type == "delete_branch" %}
    Suppression branche {{timeline.old_ref|raw}}
    {% elseif timeline.type == "close" %}
    Clos Fermeture du ticket
    {% elseif timeline.type == "review" %}
    Revue acceptée
    {% elseif timeline.type == "review_request" %}
    Demande de révision
    {% elseif timeline.type == "reopen" %}
    Réouverture du ticket
    {% else %} {{ dump(timeline) }} {%endif%} {% endif %} {% endfor %}
  • {% endif %}
    {% endfor %} {% endblock %}