add simple alert when the class is already full

add title and number limitation to details page