From b965de3639e22ddfd885b576117ac65f5d1942fc Mon Sep 17 00:00:00 2001 From: Tyler Lemburg <trlemburg@gmail.com> Date: Thu, 11 Aug 2016 14:45:45 -0500 Subject: [PATCH] Show reservation title on space home page --- views/space_home.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/views/space_home.erb b/views/space_home.erb index 4e345ce..67c88d8 100644 --- a/views/space_home.erb +++ b/views/space_home.erb @@ -25,6 +25,9 @@ You have no upcoming reservations. You can view upcoming trainings to get certif <% if !reservation.event.nil? %> <br><small><%= reservation.event.title %></small> <% end %> + <% unless reservation.title.nil? || reservation.title.empty? %> + <br><small><%= reservation.title %></small> + <% end %> </td> <td> <%= reservation.start_time.in_time_zone.strftime('%m/%d/%Y @ %l:%M %P') %><br> -- GitLab