changed the name for event to reason for hire
This commit is contained in:
parent
946a9666c6
commit
833e156206
|
@ -352,7 +352,7 @@ var EventDialog = function(calendar,event){
|
|||
'<h3>' + _event.title + '</h3>' +
|
||||
'</div>' +
|
||||
'<div class="modal-body">' +
|
||||
'<div class="event_summary">' + time_string + '</br>' + _event.hiring_person_name + '</div>' + _event.note +
|
||||
'<div class="event_summary">' + time_string + '</br>' + _event.reason_for_hire + '</div>' + _event.note +
|
||||
(_event.error_message ? ("<br><span style=\"color: #FC4040;\">" + _event.error_message + "</span>") : "") +
|
||||
'</div>' +
|
||||
'<div class="modal-footer">' +
|
||||
|
|
|
@ -61,7 +61,7 @@ class PHire
|
|||
viewButton = true
|
||||
end
|
||||
end
|
||||
title = startt.strftime("%H:%M") + " ~ " + endt.strftime("%H:%M") + " " + self.hiring_person_name
|
||||
title = startt.strftime("%H:%M") + " ~ " + endt.strftime("%H:%M") + " " + self.reason_for_hire
|
||||
{
|
||||
:id => self.id.to_s,
|
||||
# :title => (self.reason_for_hire.to_s + " "+ self.tmp_reason_for_hire.to_s).html_safe,
|
||||
|
@ -69,6 +69,7 @@ class PHire
|
|||
:title => title,
|
||||
:hiring_person_id => self.hiring_person_id,
|
||||
:hiring_person_name => self.hiring_person_name,
|
||||
:reason_for_hire => self.reason_for_hire,
|
||||
:note => self.note_for_hire || "",
|
||||
:start => startt.to_json.gsub('"',''),
|
||||
:end => endt.to_json.gsub('"',''),
|
||||
|
|
Loading…
Reference in New Issue