aboutsummaryrefslogtreecommitdiffstats
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
commit2579c50abd28ac7ee6824b22972b534cc2d0e7e6 (patch)
treecec7d269827eae5edc88191eaa80e99b8402f26b
parent77b6cd08bf94ab330d770f2b7d05e76de12c4cca (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>
-rw-r--r--src/templates/booking/booking_detail.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/booking/booking_detail.html b/src/templates/booking/booking_detail.html
index cae0e25..d78aa85 100644
--- a/src/templates/booking/booking_detail.html
+++ b/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>