Jump to content

Recommended Posts

Posted (edited)

Hi

 

 

1. I am setting up HAP and have noticed that in the booking system the last period stretches the screen over to the right so to see the whole period you have to scroll the screen over. Is there any way to avoid this?

 

2. Also can you change at the top left where it says 'week 1' or week 2' to something different like 'blue week' and 'red week'?

 

3. Is it possible to set it up so all the classrooms appear on one screen and Laptops on another screen. Just looks quite daunting with all our rooms and laptop trolleys in one go.

 

HAP.png

 

Cheers

Edited by tj2419
More information
Posted

Hi Nick,

 

Thanks for the info. Points 1 and 3 sorted. Struggling to get point 2 to automatically change for some reason when i changed the code it now just says lilac week every week :S

 

("This week is " + data[1] == 1 ? "Gold Week" : "Lilac Week");

 

Also having an issue where i set the rooms to enabled then save it. When i go back into them they say disabled again so not all the rooms show us as bookable. The names show up but not the period to click on for them to be booked :S

Posted

Ok, the rooms are showing as being enabled in the HAPConfig, can you do some http://www.edugeek.net/forums/home-access-plus/86059-hap-json-debugging.html to find out if there's a JSON request going out for those resources please

 

For the other can you confirm this code

 

                    if (user.isBSAdmin) $("#val").html("This week is " + (data[1] == 1 ? "Gold Week" : "Lilac Week"));
                   else {
                       if (data[0] >= 0 ) {
                           $("#val").html("You have " + data[0] + " bookings available to use this week. This Week is a Week " + (data[1] == 1 ? "Gold Week" : "Lilac Week"));
                       } else {
                           $("#val").html("This week is " + (data[1] == 1 ? "Gold Week" : "Lilac Week"));
                       }
                       availbookings = data;
                   }

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...