diff --git a/app/assets/javascripts/property_hire_calendar_frontend.js b/app/assets/javascripts/property_hire_calendar_frontend.js
index 8fb74a1..8f314f6 100644
--- a/app/assets/javascripts/property_hire_calendar_frontend.js
+++ b/app/assets/javascripts/property_hire_calendar_frontend.js
@@ -153,7 +153,7 @@ var EventDialog = function(calendar,event){
'
' +
- '
' + time_string + '
' +
+ '
' + time_string + '
' + _event.hiring_person_name + '
'
_event.note +
'
' +
'' +
diff --git a/app/controllers/property_hires_controller.rb b/app/controllers/property_hires_controller.rb
index 9ff91bd..457fe92 100644
--- a/app/controllers/property_hires_controller.rb
+++ b/app/controllers/property_hires_controller.rb
@@ -69,43 +69,57 @@ class PropertyHiresController < ApplicationController
"value" => property.note
}
end
- data << {
- "header" => t("property_hire.property_number"),
- "value" => property.property_number
- }
+ if !property.property_number.blank?
+ data << {
+ "header" => t("property_hire.property_number"),
+ "value" => property.property_number
+ }
+ end
data << {
"header" => t("property_hire.can_be_hired"),
"value" => (property.can_be_hired ? "