22014fbbdd53ab0852dfec8be7687389040da30d
[laas.git] / src / templates / notifier / end_booking.html
1 <html>
2     <body>
3         <div id="message_content_wrapper">
4             {% if owner %}
5             <h3>Your booking has expired</h3>
6             <p>Your booking has ended and the machines have been cleaned up.</p>
7             <p>Thank you for working on OPNFV, and feel free to book more machines if you need them.</p>
8             {% else %}
9             <h3>A booking that you collaborated on has expired</h3>
10             <p>The booking owned by {{booking.owner.username}} that you worked on has ended</p>
11             <p>Thank you for contributing to OPNFV!</p>
12             {% endif %}
13             <p>Booking information:</p>
14             <ul>
15                 <li>owner: {{booking.owner.username}}</li>
16                 <li>id: {{booking.id}}</li>
17                 <li>lab: {{booking.resource.template.lab.lab_user.username}}</li>
18                 <li>resource: {{booking.resource.template.name}}</li>
19                 <li>start: {{booking.start}}</li>
20                 <li>end: {{booking.end}}</li>
21                 <li>purpose: {{booking.purpose}}</li>
22                 <li>collaborators:
23                     <ul>
24                         {% for user in booking.collaborators.all %}
25                         <li>user.username</li>
26                         {% empty %}
27                         <li>No collaborators</li>
28                         {% endfor %}
29                     </ul>
30                 </li>
31             </ul>
32
33             <p>You can find more detailed information <a href=/booking/detail/{{booking.id/>Here</a></p>
34         </div>
35     </body>
36 </html>