Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141803 | Jan 4,2019 04:59 PM UTC | Jan 8,2019 03:57 AM UTC | LightSwitch HTML | 3 |
![]() |
Tags: Schedule |
var script1 = document.createElement('script');
script1.id = "tooltipTemplate";
script1.type = 'text/x-jsrender';
script1.innerHTML = "<div style='width:450px'> <div style='padding-top:3px;'> <div style='padding-top:2px; font:13px Segoe UI SemiBold;'>{{:Subject}}</div> </div> <div style='padding-top:3px'> <div id='fooHolder' style='padding-top:2px; font:12px Segoe UI SemiBold;'>{{:~format1(Categorize)}}</div> </div> </div>";
document.head.appendChild(script1);
$.views.helpers({ format1: _getText });
function _getText(cate) {
if (cate == 3) { return "Orange - Collaborating Agency: Collaborating Agency events are events offered or hosted by a community organization at a PSHH site."; }
else if (cate == 0) { return "Blue - Complete: The event information has been entered and nothing more is needed."; }
else if (cate == 1) { return "Green - Resident Only: Resident only events are open to only PSHH residents."; }
else if (cate == 6) { return "Yellow - Staff Only: Staff only events are open to only PSHH staff."; }
else { return "Red - Incomplete: The event is missing information (# of residents, volunteers present, etc.)"; }
}
appointmentSettings: {
applyTimeOffset: false,
dataSource: dataManger,
id: "Id",
subject: "Subject",
startTime: "StartTime",
endTime: "EndTime",
categorize: "Categorize",
allday: false
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.