Hide major code interface when not needed

When a clan has no codes set as major, the major code interface is now
hidden on the attendance management page.