diff options
Diffstat (limited to 'tools/pharos-dashboard/src/templates/booking/booking_table.html')
-rw-r--r-- | tools/pharos-dashboard/src/templates/booking/booking_table.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/src/templates/booking/booking_table.html b/tools/pharos-dashboard/src/templates/booking/booking_table.html new file mode 100644 index 00000000..216eaf57 --- /dev/null +++ b/tools/pharos-dashboard/src/templates/booking/booking_table.html @@ -0,0 +1,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>
\ No newline at end of file |