Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occupancy score image doesn't show when further than 2 days in advance #247

Open
pietercolpaert opened this issue Nov 24, 2016 · 3 comments

Comments

@pietercolpaert
Copy link
Member

When searching for longer than 2 days in advance, the occupancy score image give an image not found. This is because the API doesn't return occupancy scores at all and the code to show the image doesn't work. We should refrain from showing an image more than two days in advance at this moment...

@Haroenv
Copy link
Member

Haroenv commented Nov 24, 2016

Probably an if check that shows the undefined as a fallback?

screen shot 2016-11-24 at 12 29 12

src is set wrongly.

https://github.com/iRail/hyperRail/blob/master/resources/views/_partials/route/results.blade.php#L33 needs an if check

@pietercolpaert
Copy link
Member Author

Indeed!

This was referenced Nov 24, 2016
@pietercolpaert pietercolpaert reopened this Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants