summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/src/templates/booking/booking_table.html
blob: 216eaf57602bb7d6ff95cfaad52cd9f990185877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% load jira_filters %}


<thead>
<tr>
    <th>User</th>
    <th>Purpose</th>
    <th>Start</th>
    <th>End</th>
    <th>Jira</th>
</tr>
</thead>
<tbody>
{% for booking in bookings %}
    <tr>
        <td>
            {{ booking.user.username }}
        </td>
        <td>
            {{ booking.purpose }}
        </td>
        <td>
            {{ booking.start }}
        </td>
        <td>
            {{ booking.end }}
        </td>
        <td><a target='_blank'
               href={{ booking.get_jira_issue | jira_issue_url }}>{{ booking.get_jira_issue }}</a>
        </td>
    </tr>
{% endfor %}
</tbody>