view default/ticket/overview.html @ 69:339f4011ed9b

merge-request: first draft: template for viewing a merge request (comments + patches) + a text explaining how to use jp to create a new one (new merge requests from inside Libervia is not handled yet).
author Goffi <goffi@goffi.org>
date Fri, 01 Dec 2017 00:46:45 +0100
parents 9834106678da
children e99bd385774a
line wrap: on
line source

{# display the list of tickets #}

{% set category_menu = [('ticket_new', url_tickets_new)] %}
{% extends 'base/base.html' %}
{% import 'input/xmlui.html' as xmlui with context %}

{% block body %}
<div id="tickets" class="view tickets overview">
    {{ xmlui.generate_table(tickets, (('id', _('Id')),
                                      ('title', _('Title'))),
                            tr_class_fields=['status', 'priority', 'severity'],
                            on_click=on_ticket_click) }}
</div>
{% endblock body %}