aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/booking/booking_detail.html
blob: dd0bf032cf906f64c73308b6241e487cc492740d (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
34
35
36
37
38
{% load jira_filters %}

<p>
    <b>Resource: </b>
    <a href="{{ booking.resource.url }}">
        {{ booking.resource.name }}
    </a>
</p>
<p>
    <b>User: </b> {{ booking.user.username }}
</p>
<p>
    <b>Start: </b> {{ booking.start }}
</p>
<p>
    <b>End: </b> {{ booking.end }}
</p>
<p>
    <b>Purpose: </b> {{ booking.purpose }}
</p>
<p>
    <b>Operating System: </b> {{ booking.opsys }}
</p>
<p>
    <b>Installer: </b> {{ booking.installer }}
</p>
<p>
    <b>Scenario: </b> {{ booking.scenario }}
</p>
{% if user.is_authenticated %}
{% if user.get_username == booking.user.username %}
<p>
    <a href="{% url 'booking:edit' booking_id=booking.id resource_id=booking.resource.id  %}" class="btn btn btn-success">
        Edit Booking
    </a>
</p>
{% endif %}
{% endif %}