summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates/booking
diff options
context:
space:
mode:
authorSawyer Bergeron <sawyerbergeron@gmail.com>2019-01-18 11:56:21 -0500
committerSawyer Bergeron <sawyerbergeron@gmail.com>2019-01-18 11:56:21 -0500
commitf09ad569cc75dcdedbdfc0fc25b4d11f4c1b071d (patch)
treec24772c1c8c8f2f7f764d44a7ff060a4a1dbb6ca /dashboard/src/templates/booking
parent842707a6575b98c18642be4ec26dbe1c41f689ad (diff)
Fix BookingDetail Template
Booking detail view template did not properly reference diskprofile objects by their related name, so that area was blank in the rendered page Change-Id: Icedc12a6cd31a2422e26281e2b4f34750fb01bae Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Diffstat (limited to 'dashboard/src/templates/booking')
-rw-r--r--dashboard/src/templates/booking/booking_detail.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/src/templates/booking/booking_detail.html b/dashboard/src/templates/booking/booking_detail.html
index cae0e25..d78aa85 100644
--- a/dashboard/src/templates/booking/booking_detail.html
+++ b/dashboard/src/templates/booking/booking_detail.html
@@ -111,15 +111,15 @@
<table class="table">
<tr>
<td>Size:</td>
- <td>{{host.profile.diskprofile.first.size}}GiB</td>
+ <td>{{host.profile.storageprofile.first.size}} GiB</td>
</tr>
<tr>
<td>Type:</td>
- <td>{{host.profile.diskprofile.first.media_type}}</td>
+ <td>{{host.profile.storageprofile.first.media_type}}</td>
</tr>
<tr>
<td>Mount Point:</td>
- <td>{{host.profile.diskprofile.first.name}}</td>
+ <td>{{host.profile.storageprofile.first.name}}</td>
</tr>
</table>
</td>