diff options
author | Sean Smith <ssmith@iol.unh.edu> | 2020-07-28 13:53:51 -0400 |
---|---|---|
committer | Sean Smith <ssmith@iol.unh.edu> | 2020-07-31 12:21:48 -0400 |
commit | 219d6376a369bf62c78b7b092b605f96997a3599 (patch) | |
tree | 56402cb50df4b38457afe4a1961d65f499d252f7 /src/templates/base | |
parent | 34c9d33a6235cf45175d0e4e1017c569e0f6095d (diff) |
Fix Pod detail menu and re-imaging
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: I483c9e9c6dc8d492cc9340ab42b6b2d518f52950
Diffstat (limited to 'src/templates/base')
-rw-r--r-- | src/templates/base/booking/booking_detail.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/templates/base/booking/booking_detail.html b/src/templates/base/booking/booking_detail.html index fea2bb6..4b70f69 100644 --- a/src/templates/base/booking/booking_detail.html +++ b/src/templates/base/booking/booking_detail.html @@ -55,13 +55,13 @@ </div> <div class="collapse show" id="pod_panel"> <div class="card-body"> - {% for host in booking.resource.hosts.all %} - <h4>{{host.template.resource.name}}</h4> + {% for host in booking.resource.get_resources %} + <h4>{{host.bundle.template.copy_of.name}}</h4> <div class="overflow-auto"> <table class="table m-0"> <tr> <td>Hostname:</td> - <td>{{host.template.resource.name}}</td> + <td>{{host.name}}</td> </tr> <tr> <td>Machine:</td> @@ -69,12 +69,12 @@ </tr> <tr> <td>Role:</td> - <td>{{host.config.opnfvRole}}</td> + <td>{{host.template.opnfvRole}}</td> </tr> <tr> <td>Image:</td> <td id="host_image_{{host.id}}"> - {{host.config.image}} + {{host.config.Image}} <button class="btn btn-primary ml-4" data-toggle="modal" |