Phase diagram of hard-core bosons on a zigzag ladder